[oe-commits] Juro Bystricky : gcc-cross-canadian.inc: overrides for libc-baremetal
git at git.openembedded.org
git at git.openembedded.org
Tue Aug 25 22:28:16 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 9ac409b547c2b0bee77497458cf269aa0848ebd2
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9ac409b547c2b0bee77497458cf269aa0848ebd2
Author: Juro Bystricky <juro.bystricky at intel.com>
Date: Sat Aug 22 09:55:16 2015 -0700
gcc-cross-canadian.inc: overrides for libc-baremetal
Modify configure arguments (EXTRA_OECONF) to support build for
TCLIBC="baremetal"
Signed-off-by: Juro Bystricky <juro.bystricky at intel.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index 07ecfee..54e4881 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -169,5 +169,9 @@ EXTRA_OECONF += "\
--with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix} \
"
+EXTRA_OECONF_append_libc-baremetal = " --without-headers"
+EXTRA_OECONF_remove_libc-baremetal = "--with-sysroot=/not/exist"
+EXTRA_OECONF_remove_libc-baremetal = "--with-build-sysroot=${STAGING_DIR_TARGET}"
+
# gcc 4.7 needs -isystem
export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}"
More information about the Openembedded-commits
mailing list