diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-22 09:48:20 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-23 16:20:13 +0100 |
commit | 2eb9c1cc75a0f39390ddfcc3688fa4893fb77991 (patch) | |
tree | 1800e0e4b46dc0e7b45abab49c5ffbb2ea481fde /meta/recipes-devtools/gcc/gcc-configure-cross.inc | |
parent | 0dfc8aabef0fe17bf9c920c30d2ea94fd926cc9d (diff) | |
download | poky-2eb9c1cc75a0f39390ddfcc3688fa4893fb77991.tar.gz |
gcc-*-cross.inc: Fold common configuration into gcc-cross.inc
(From OE-Core rev: 8f6df85ca90c038316ca1ed22e9c54f937f21406)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-configure-cross.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-cross.inc | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-cross.inc b/meta/recipes-devtools/gcc/gcc-configure-cross.inc deleted file mode 100644 index db7980ba0c..0000000000 --- a/meta/recipes-devtools/gcc/gcc-configure-cross.inc +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | require gcc-configure-common.inc | ||
2 | |||
3 | EXTRA_OECONF += " --enable-poison-system-directories \ | ||
4 | " | ||
5 | |||
6 | INHIBIT_DEFAULT_DEPS = "1" | ||
7 | |||
8 | EXTRA_OECONF_PATHS = " \ | ||
9 | --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} \ | ||
10 | --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \ | ||
11 | --with-sysroot=${STAGING_DIR_TARGET} \ | ||
12 | --with-build-sysroot=${STAGING_DIR_TARGET}" | ||
13 | |||
14 | do_configure_prepend () { | ||
15 | sed -i 's/BUILD_INFO=info/BUILD_INFO=/' ${S}/gcc/configure | ||
16 | } | ||
17 | do_compile_prepend () { | ||
18 | export CC="${BUILD_CC}" | ||
19 | export AR_FOR_TARGET="${TARGET_SYS}-ar" | ||
20 | export RANLIB_FOR_TARGET="${TARGET_SYS}-ranlib" | ||
21 | export LD_FOR_TARGET="${TARGET_SYS}-ld" | ||
22 | export NM_FOR_TARGET="${TARGET_SYS}-nm" | ||
23 | export CC_FOR_TARGET="${CCACHE} ${TARGET_SYS}-gcc ${TARGET_CC_ARCH}" | ||
24 | export CFLAGS_FOR_TARGET="${TARGET_CFLAGS}" | ||
25 | export CPPFLAGS_FOR_TARGET="${TARGET_CPPFLAGS}" | ||
26 | export CXXFLAGS_FOR_TARGET="${TARGET_CXXFLAGS}" | ||
27 | export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}" | ||
28 | } | ||
29 | |||
30 | LIBGCCS_VAR = "-lgcc_s" | ||
31 | LIBGCCS_VAR_avr32 = "" | ||