diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2015-08-22 09:55:16 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-30 12:34:10 +0100 |
commit | 1a79426dabf9237fa2cdd5908ff370bf1d9fa2df (patch) | |
tree | 343884672d622b36bcc57f2382a413f8217e4487 | |
parent | cb010e306a6a856c589db5f41fdcaea4e5035d93 (diff) | |
download | openembedded-core-1a79426dabf9237fa2cdd5908ff370bf1d9fa2df.tar.gz openembedded-core-1a79426dabf9237fa2cdd5908ff370bf1d9fa2df.tar.bz2 openembedded-core-1a79426dabf9237fa2cdd5908ff370bf1d9fa2df.zip |
gcc-cross-canadian.inc: overrides for libc-baremetal
Modify configure arguments (EXTRA_OECONF) to support build for
TCLIBC="baremetal"
(From OE-Core rev: 87e81e469fd941fa1b41ded3e02644695cafd2dc)
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-canadian.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc index 07ecfee8cf..54e4881059 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}" |