diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-03-15 21:50:59 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-19 20:26:02 +0000 |
commit | e5555c743a9637f86a0a2c4c45a63a80838e81ae (patch) | |
tree | 17c1bbbfebe2333ec2a2d6a630fc8e84121a8805 /meta/classes/bootimg.bbclass | |
parent | 2569711868dac01a0bf4bdfb3484b239862143dc (diff) | |
download | openembedded-core-e5555c743a9637f86a0a2c4c45a63a80838e81ae.tar.gz openembedded-core-e5555c743a9637f86a0a2c4c45a63a80838e81ae.tar.bz2 openembedded-core-e5555c743a9637f86a0a2c4c45a63a80838e81ae.tar.xz openembedded-core-e5555c743a9637f86a0a2c4c45a63a80838e81ae.zip |
native.bbclass: make TOOLCHAIN_OPTIONS empty
The native pkg doesn't need the TOOLCHAIN_OPTIONS, but it maybe used by
native pkgs, for example, the cmake.bbclass uses TOOLCHAIN_OPTIONS:
OECMAKE_C_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CPPFLAGS}"
and TOOLCHAIN_OPTIONS is:
TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}"
If a native pkg inherits cmake.bbclass, then:
TOOLCHAIN_OPTIONS = " --sysroot="
and OECMAKE_C_FLAGS would be:
${HOST_CC_ARCH} --sysroot= ${CPPFLAGS}
This would cause unexpected errors, I think that we can make
TOOLCHAIN_OPTIONS empty in native.bbclass since native pkg doesn't need
it.
[YOCTO #2124]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/classes/bootimg.bbclass')
0 files changed, 0 insertions, 0 deletions