summaryrefslogtreecommitdiffstats
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:35:51 +0100
commit466684e61b0b973550025993610c32fb0f329829 (patch)
tree4576ccc174a5127c8317ecfb46d5f767c746171a
parent260aa5203dc6f98001b3725b28eb1f29919f71fd (diff)
downloadpoky-466684e61b0b973550025993610c32fb0f329829.tar.gz
gcc-cross.inc: overrides for libc-baremetal
Modifications to to support build for TCLIBC="baremetal" (From OE-Core rev: 9e7da158e0e7628c22013fbee34270f7d2db621f) (From OE-Core rev: 92eb54c6b7424770f96a8e14e792cbe5124968c3) 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.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 += "\
24 --with-system-zlib \ 24 --with-system-zlib \
25" 25"
26 26
27DEPENDS_remove_libc-baremetal := "virtual/${TARGET_PREFIX}libc-for-gcc"
28EXTRA_OECONF_append_libc-baremetal = " --without-headers"
29EXTRA_OECONF_remove_libc-baremetal = "--enable-threads=posix"
30
27EXTRA_OECONF_PATHS = "\ 31EXTRA_OECONF_PATHS = "\
28 --with-gxx-include-dir=/not/exist${target_includedir}/c++/${BINV} \ 32 --with-gxx-include-dir=/not/exist${target_includedir}/c++/${BINV} \
29 --with-sysroot=/not/exist \ 33 --with-sysroot=/not/exist \