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:35:51 +0100 |
commit | 260aa5203dc6f98001b3725b28eb1f29919f71fd (patch) | |
tree | 2d79a25a22d8771220ed353025339694c6b9194d | |
parent | 2dd0c1d4e1ac1e908cca8586d1dcc3f9a93bbd8d (diff) | |
download | poky-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>
-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 += "\ | |||
169 | --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix} \ | 169 | --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix} \ |
170 | " | 170 | " |
171 | 171 | ||
172 | EXTRA_OECONF_append_libc-baremetal = " --without-headers" | ||
173 | EXTRA_OECONF_remove_libc-baremetal = "--with-sysroot=/not/exist" | ||
174 | EXTRA_OECONF_remove_libc-baremetal = "--with-build-sysroot=${STAGING_DIR_TARGET}" | ||
175 | |||
172 | # gcc 4.7 needs -isystem | 176 | # gcc 4.7 needs -isystem |
173 | export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}" | 177 | export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}" |