On Sat, 2018-09-29 at 15:01 +0800, Kevin Hao wrote: > When multilib is enabled, there would be two different recipe > specific > sysroot directories: > libxx-recipe-sysroot > recipe-sysroot > > We do need to access the files under the "recipe-sysroot" directory > in some cases. So introduces these variables for this purpose. > > Signed-off-by: Kevin Hao <[email protected]> > --- > meta/conf/bitbake.conf | 4 ++++ > meta/conf/multilib.conf | 1 + > 2 files changed, 5 insertions(+)
This doesn't look like a good idea to me. With multilib its very easy just to add in special case options and make it do the right thing until something else needs 'fixing'. What is harder but works out better in the long run is to figure out the real underlying problem and the solution. This patch adds datadir but paves the way to add all the other *dir variants. Also, the name "RECIPE_ALT_SYSROOT" is horrible, its near impossible to know what "ALT" means. Alternative to what? So whilst I understand what this is trying to do, we need to come up with a better way, sorry. I've tried thinking how to do it differently but don't have a proposal right now, sorry. Cheers, Richard -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
