]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-cross.inc: overrides for libc-baremetal
authorJuro Bystricky <juro.bystricky@intel.com>
Sat, 22 Aug 2015 16:55:17 +0000 (09:55 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 30 Aug 2015 11:34:11 +0000 (12:34 +0100)
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>
meta/recipes-devtools/gcc/gcc-cross.inc

index 97929501e8e65fa2f0d0a79e6d6567140be54b8a..aa106330340601869eb358c21a0fd49e2fd9d5a3 100644 (file)
@@ -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 \