[yocto] [poky/classes] [PATCH] new alternatesrc.bbclass

Alexander Kanavin alexander.kanavin at linux.intel.com
Fri May 19 01:50:07 PDT 2017


On 05/18/2017 09:11 PM, Koehler, Yannick (HPN Aruba) wrote:

> +# alternatesrc.bbclass enables use of an optionally existing source tree, usually external
> +# to the build system to build a piece of software rather than the usual fetch/unpack
> +# process.
> +#
> +# To use, add alternatesrc to the global inherit and set ALTERNATESRC to point at the
> +# directory you want to use containing the sources e.g. from local.conf for a recipe
> +# called "myrecipe" you would do:
> +#
> +# INHERIT += "alternatesrc"
> +# ALTERNATESRC_pn-myrecipe = "/path/to/my/source/tree"

Seems to me that this use case is already handled by 'devtool modify'.

Alex




More information about the yocto mailing list