From 92eb54c6b7424770f96a8e14e792cbe5124968c3 Mon Sep 17 00:00:00 2001 From: Juro Bystricky Date: Sat, 22 Aug 2015 09:55:17 -0700 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- 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 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 \ -- cgit 1.2.3-korg