[yocto] New: "extrapatches" bbclass.
Richard Purdie
richard.purdie at linuxfoundation.org
Sat Mar 9 02:01:15 PST 2019
On Thu, 2019-03-07 at 19:26 -0800, Kaz Kylheku (poky) wrote:
> #
> # extrapatches bbclass
> #
> # This bbclass allows for a recipe to apply additional patches.
> #
> # "Additional patches" refers to patches that are not individually
> # fetched by the SRC_URI mechanism, but are already present
> # inside the source trees that are fetched and unpacked.
> # Referring directly to recipe-side patches
> # without fetching them via SRC_URI is also possible.
> #
> # How to use this class:
> #
> # 1. Add inherit extrapatches to your recipe.
> # 2. Optionally set the EXTRAPATCHES_WORKDIR,
> # 3. List the patches in EXTRAPATCHES in order of application.
> # - Relative paths are interpreted relative to
> EXTRAPATCHES_WORKDIR.
> # - Absolute paths are allowed
Can't you already do this if you put a file:// url in SRC_URI for the
patch as its unpacked in the workdir?
Cheers,
Richard
More information about the yocto
mailing list