summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2015-08-22 09:55:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-30 12:35:51 +0100
commit260aa5203dc6f98001b3725b28eb1f29919f71fd (patch)
tree2d79a25a22d8771220ed353025339694c6b9194d /meta/recipes-devtools
parent2dd0c1d4e1ac1e908cca8586d1dcc3f9a93bbd8d (diff)
downloadpoky-260aa5203dc6f98001b3725b28eb1f29919f71fd.tar.gz
gcc-cross-canadian.inc: overrides for libc-baremetal
Modify configure arguments (EXTRA_OECONF) to support build for TCLIBC="baremetal" (From OE-Core rev: 87e81e469fd941fa1b41ded3e02644695cafd2dc) (From OE-Core rev: 1a79426dabf9237fa2cdd5908ff370bf1d9fa2df) 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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc4
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 += "\
169 --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix} \ 169 --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix} \
170" 170"
171 171
172EXTRA_OECONF_append_libc-baremetal = " --without-headers"
173EXTRA_OECONF_remove_libc-baremetal = "--with-sysroot=/not/exist"
174EXTRA_OECONF_remove_libc-baremetal = "--with-build-sysroot=${STAGING_DIR_TARGET}"
175
172# gcc 4.7 needs -isystem 176# gcc 4.7 needs -isystem
173export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}" 177export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}"