diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2015-08-22 09:55:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-30 12:34:11 +0100 |
commit | 92eb54c6b7424770f96a8e14e792cbe5124968c3 (patch) | |
tree | dd99e847947208803f5beef9cc78caf6d039b281 | |
parent | 1a79426dabf9237fa2cdd5908ff370bf1d9fa2df (diff) | |
download | openembedded-core-92eb54c6b7424770f96a8e14e792cbe5124968c3.tar.gz openembedded-core-92eb54c6b7424770f96a8e14e792cbe5124968c3.tar.bz2 openembedded-core-92eb54c6b7424770f96a8e14e792cbe5124968c3.zip |
gcc-cross.inc: overrides for libc-baremetal
Modifications to to support build for TCLIBC="baremetal"
(From OE-Core rev: 9e7da158e0e7628c22013fbee34270f7d2db621f)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc index 97929501e8..aa10633034 100644 --- a/meta/recipes-devtools/gcc/gcc-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-cross.inc @@ -24,6 +24,10 @@ EXTRA_OECONF += "\ --with-system-zlib \ " +DEPENDS_remove_libc-baremetal := "virtual/${TARGET_PREFIX}libc-for-gcc" +EXTRA_OECONF_append_libc-baremetal = " --without-headers" +EXTRA_OECONF_remove_libc-baremetal = "--enable-threads=posix" + EXTRA_OECONF_PATHS = "\ --with-gxx-include-dir=/not/exist${target_includedir}/c++/${BINV} \ --with-sysroot=/not/exist \ |