diff options
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 = "" | ||