summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2015-08-22 09:55:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-30 12:34:11 +0100
commit92eb54c6b7424770f96a8e14e792cbe5124968c3 (patch)
treedd99e847947208803f5beef9cc78caf6d039b281 /meta/recipes-devtools/gcc
parent1a79426dabf9237fa2cdd5908ff370bf1d9fa2df (diff)
downloadopenembedded-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>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc4
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 \