diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/cross-canadian.bbclass | 10 | ||||
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 2 |
2 files changed, 8 insertions, 4 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index c22be1a030..4387d05f78 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass | |||
@@ -73,12 +73,12 @@ target_exec_prefix := "${exec_prefix}" | |||
73 | base_prefix = "${SDKPATHNATIVE}" | 73 | base_prefix = "${SDKPATHNATIVE}" |
74 | prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" | 74 | prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" |
75 | exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" | 75 | exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" |
76 | bindir = "${exec_prefix}/bin/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" | 76 | bindir = "${exec_prefix}/bin/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}" |
77 | sbindir = "${bindir}" | 77 | sbindir = "${bindir}" |
78 | base_bindir = "${bindir}" | 78 | base_bindir = "${bindir}" |
79 | base_sbindir = "${bindir}" | 79 | base_sbindir = "${bindir}" |
80 | libdir = "${exec_prefix}/lib/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" | 80 | libdir = "${exec_prefix}/lib/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}" |
81 | libexecdir = "${exec_prefix}/libexec/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" | 81 | libexecdir = "${exec_prefix}/libexec/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}" |
82 | 82 | ||
83 | FILES_${PN} = "${prefix}" | 83 | FILES_${PN} = "${prefix}" |
84 | FILES_${PN}-dbg += "${prefix}/.debug \ | 84 | FILES_${PN}-dbg += "${prefix}/.debug \ |
@@ -91,3 +91,7 @@ export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}" | |||
91 | do_populate_sysroot[stamp-extra-info] = "" | 91 | do_populate_sysroot[stamp-extra-info] = "" |
92 | 92 | ||
93 | USE_NLS = "${SDKUSE_NLS}" | 93 | USE_NLS = "${SDKUSE_NLS}" |
94 | |||
95 | # We have to us TARGET_ARCH but we care about the absolute value | ||
96 | # and not any particular tune that is enabled. | ||
97 | TARGET_ARCH[vardepsexclude] = "TUNE_ARCH" | ||
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index be5623bafe..8bdb17d8a8 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass | |||
@@ -10,7 +10,7 @@ toolchain_create_sdk_env_script () { | |||
10 | script=${1:-${SDK_OUTPUT}/${SDKPATH}/environment-setup-${REAL_MULTIMACH_TARGET_SYS}} | 10 | script=${1:-${SDK_OUTPUT}/${SDKPATH}/environment-setup-${REAL_MULTIMACH_TARGET_SYS}} |
11 | rm -f $script | 11 | rm -f $script |
12 | touch $script | 12 | touch $script |
13 | echo 'export PATH=${SDKPATHNATIVE}${bindir_nativesdk}:${SDKPATHNATIVE}${bindir_nativesdk}/${REAL_MULTIMACH_TARGET_SYS}:$PATH' >> $script | 13 | echo 'export PATH=${SDKPATHNATIVE}${bindir_nativesdk}:${SDKPATHNATIVE}${bindir_nativesdk}/${TARGET_SYS}:$PATH' >> $script |
14 | echo 'export PKG_CONFIG_SYSROOT_DIR=${SDKTARGETSYSROOT}' >> $script | 14 | echo 'export PKG_CONFIG_SYSROOT_DIR=${SDKTARGETSYSROOT}' >> $script |
15 | echo 'export PKG_CONFIG_PATH=${SDKTARGETSYSROOT}${libdir}/pkgconfig' >> $script | 15 | echo 'export PKG_CONFIG_PATH=${SDKTARGETSYSROOT}${libdir}/pkgconfig' >> $script |
16 | echo 'export CONFIG_SITE=${SDKPATH}/site-config-${REAL_MULTIMACH_TARGET_SYS}' >> $script | 16 | echo 'export CONFIG_SITE=${SDKPATH}/site-config-${REAL_MULTIMACH_TARGET_SYS}' >> $script |