diff options
Diffstat (limited to 'meta/packages/gcc/gcc-configure-sdk.inc')
-rw-r--r-- | meta/packages/gcc/gcc-configure-sdk.inc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/packages/gcc/gcc-configure-sdk.inc b/meta/packages/gcc/gcc-configure-sdk.inc index 6738496219..3803902a58 100644 --- a/meta/packages/gcc/gcc-configure-sdk.inc +++ b/meta/packages/gcc/gcc-configure-sdk.inc | |||
@@ -6,7 +6,7 @@ USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibcgnueabi", "no", "", d | |||
6 | 6 | ||
7 | EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ | 7 | EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ |
8 | --with-gxx-include-dir=${prefix}/${TARGET_SYS}${target_includedir}/c++/${BINV}/ \ | 8 | --with-gxx-include-dir=${prefix}/${TARGET_SYS}${target_includedir}/c++/${BINV}/ \ |
9 | --with-build-time-tools=${CROSS_DIR}/${TARGET_SYS}/bin \ | 9 | --with-build-time-tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \ |
10 | --with-sysroot=${prefix}/${TARGET_SYS} \ | 10 | --with-sysroot=${prefix}/${TARGET_SYS} \ |
11 | --with-build-sysroot=${STAGING_DIR_TARGET}" | 11 | --with-build-sysroot=${STAGING_DIR_TARGET}" |
12 | 12 | ||
@@ -14,18 +14,18 @@ EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} | |||
14 | # gcc-cross looks and finds these in ${exec_prefix} but we're not so lucky | 14 | # gcc-cross looks and finds these in ${exec_prefix} but we're not so lucky |
15 | # for the sdk. Hardcoding the paths ensures the build doesn't go canadian or worse. | 15 | # for the sdk. Hardcoding the paths ensures the build doesn't go canadian or worse. |
16 | # | 16 | # |
17 | export AR_FOR_TARGET = "${CROSS_DIR}/${TARGET_SYS}/bin/ar" | 17 | export AR_FOR_TARGET = "${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin/ar" |
18 | export AS_FOR_TARGET = "${CROSS_DIR}/${TARGET_SYS}/bin/as" | 18 | export AS_FOR_TARGET = "${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin/as" |
19 | export DLLTOOL_FOR_TARGET = "${CROSS_DIR}/${TARGET_SYS}/bin/dlltool" | 19 | export DLLTOOL_FOR_TARGET = "${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin/dlltool" |
20 | export CC_FOR_TARGET = "${TARGET_SYS}-gcc" | 20 | export CC_FOR_TARGET = "${TARGET_SYS}-gcc" |
21 | export CXX_FOR_TARGET = "${TARGET_SYS}-g++" | 21 | export CXX_FOR_TARGET = "${TARGET_SYS}-g++" |
22 | export LD_FOR_TARGET = "${TARGET_SYS}-ld" | 22 | export LD_FOR_TARGET = "${TARGET_SYS}-ld" |
23 | export LIPO_FOR_TARGET = "${CROSS_DIR}/${TARGET_SYS}/bin/lipo" | 23 | export LIPO_FOR_TARGET = "${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin/lipo" |
24 | export NM_FOR_TARGET = "${CROSS_DIR}/${TARGET_SYS}/bin/nm" | 24 | export NM_FOR_TARGET = "${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin/nm" |
25 | export OBJDUMP_FOR_TARGET = "${CROSS_DIR}/${TARGET_SYS}/bin/objdump" | 25 | export OBJDUMP_FOR_TARGET = "${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin/objdump" |
26 | export RANLIB_FOR_TARGET = "${CROSS_DIR}/${TARGET_SYS}/bin/ranlib" | 26 | export RANLIB_FOR_TARGET = "${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin/ranlib" |
27 | export STRIP_FOR_TARGET = "${CROSS_DIR}/${TARGET_SYS}/bin/strip" | 27 | export STRIP_FOR_TARGET = "${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin/strip" |
28 | export WINDRES_FOR_TARGET = "${CROSS_DIR}/${TARGET_SYS}/bin/windres" | 28 | export WINDRES_FOR_TARGET = "${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin/windres" |
29 | 29 | ||
30 | # | 30 | # |
31 | # We need to override this and make sure the compiler can find staging | 31 | # We need to override this and make sure the compiler can find staging |