toolchain-scripts.bbclass: Allow sourcing of subscript for environment
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 9 Oct 2014 21:53:13 +0000 (18:53 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Oct 2014 15:44:31 +0000 (16:44 +0100)
commitbd9cc83ef1d5050017088258a701f2f28d999e98
tree84962e81722e6a87f531b46041807315e2a7b935
parent143a26c7b8774eb93471f4a251bd1c612762a724
toolchain-scripts.bbclass: Allow sourcing of subscript for environment

Sometimes we require extra environment settings to be available on the
environment for proper SDK work. This were done, in past, using
'_append' tasks however with the split of the environment in a
canadian package this has been broken.

The easier and more flexible solution is to use environment subscripts
which are sources by the main script. These are now looked at:

 $OECORE_NATIVE_SYSROOT/environment-setup.d/*.sh

and sourced.

(From OE-Core rev: 457291f2ca084d1f43c0cca2175b448a22761887)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/toolchain-scripts.bbclass