[oe-commits] Juro Bystricky : gcc-cross.inc: overrides for libc-baremetal

git at git.openembedded.org git at git.openembedded.org
Sun Aug 30 11:48:15 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 92eb54c6b7424770f96a8e14e792cbe5124968c3
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=92eb54c6b7424770f96a8e14e792cbe5124968c3

Author: Juro Bystricky <juro.bystricky at intel.com>
Date:   Sat Aug 22 09:55:17 2015 -0700

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 at intel.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/gcc/gcc-cross.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index 9792950..aa10633 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 \



More information about the Openembedded-commits mailing list