]> code.ossystems Code Review - openembedded-core.git/commit
buildtools-tarball: do not export OECORE_NATIVE_SYSROOT
authorChen Qi <Qi.Chen@windriver.com>
Fri, 2 Aug 2013 03:37:08 +0000 (11:37 +0800)
committerSaul Wold <sgw@linux.intel.com>
Tue, 6 Aug 2013 06:59:54 +0000 (23:59 -0700)
commitd4a4c764a844a7e61f866af9361f139684037336
tree0120f02b96352aaad7fd5bfbdf810aae6bd698d0
parente6039e6e3b98d6ab91252a5012d76279b1fac6e8
buildtools-tarball: do not export OECORE_NATIVE_SYSROOT

When building a qemu image inside the environment created by the
buildtools-tarball, the qemu image cannot be started, as the runqemu
script uses the tunctl binary which cannot be found inside the sysroot
directory of the buildtools-tarball.

The buildtools-tarball is inherently a tool set instead of a fully
functional SDK, so leaving the OECORE_NATIVE_SYSROOT variable in the
environment will mess things up.

However, we do need a line of 'OECORE_NATIVE_SYSROOT=xxx' in the environment
setup script so that the SDK can be extracted and relocated correctly.
Thus, instead of exporting OECORE_NATIVE_SYSROOT, we use a comment here.

[YOCTO #4939]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/meta/buildtools-tarball.bb