diff options
Diffstat (limited to 'meta/classes/cross-canadian.bbclass')
-rw-r--r-- | meta/classes/cross-canadian.bbclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index 1a045ba16d..edd51da87b 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass | |||
@@ -9,14 +9,14 @@ | |||
9 | # or indirectly via dependency. No need to be in 'world'. | 9 | # or indirectly via dependency. No need to be in 'world'. |
10 | EXCLUDE_FROM_WORLD = "1" | 10 | EXCLUDE_FROM_WORLD = "1" |
11 | 11 | ||
12 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}:${STAGING_DIR_NATIVE}${bindir_native}/${OLD_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}" | 12 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}:${STAGING_DIR_NATIVE}${bindir_native}/${OLD_BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}" |
13 | 13 | ||
14 | # | 14 | # |
15 | # Update BASE_PACKAGE_ARCH and PACKAGE_ARCHS | 15 | # Update BASE_PACKAGE_ARCH and PACKAGE_ARCHS |
16 | # | 16 | # |
17 | OLD_MULTIMACH_ARCH := "${MULTIMACH_ARCH}" | 17 | OLD_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
18 | OLD_MULTIMACH_TARGET_SYS := "${MULTIMACH_TARGET_SYS}" | 18 | OLD_MULTIMACH_TARGET_SYS := "${MULTIMACH_TARGET_SYS}" |
19 | OLD_PACKAGE_ARCH := ${BASE_PACKAGE_ARCH} | 19 | OLD_BASE_PACKAGE_ARCH := ${BASE_PACKAGE_ARCH} |
20 | BASE_PACKAGE_ARCH = "${SDK_ARCH}-nativesdk" | 20 | BASE_PACKAGE_ARCH = "${SDK_ARCH}-nativesdk" |
21 | python () { | 21 | python () { |
22 | archs = bb.data.getVar('PACKAGE_ARCHS', d, True).split() | 22 | archs = bb.data.getVar('PACKAGE_ARCHS', d, True).split() |
@@ -25,7 +25,7 @@ python () { | |||
25 | sdkarchs.append(arch + '-nativesdk') | 25 | sdkarchs.append(arch + '-nativesdk') |
26 | bb.data.setVar('PACKAGE_ARCHS', " ".join(sdkarchs), d) | 26 | bb.data.setVar('PACKAGE_ARCHS', " ".join(sdkarchs), d) |
27 | } | 27 | } |
28 | MULTIMACH_TARGET_SYS = "${MULTIMACH_ARCH}${HOST_VENDOR}-${HOST_OS}" | 28 | MULTIMACH_TARGET_SYS = "${PACKAGE_ARCH}${HOST_VENDOR}-${HOST_OS}" |
29 | 29 | ||
30 | INHIBIT_DEFAULT_DEPS = "1" | 30 | INHIBIT_DEFAULT_DEPS = "1" |
31 | 31 | ||
@@ -66,12 +66,12 @@ target_exec_prefix := "${exec_prefix}" | |||
66 | base_prefix = "${SDKPATHNATIVE}" | 66 | base_prefix = "${SDKPATHNATIVE}" |
67 | prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" | 67 | prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" |
68 | exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" | 68 | exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" |
69 | bindir = "${exec_prefix}/bin/${OLD_MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}" | 69 | bindir = "${exec_prefix}/bin/${OLD_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}" |
70 | sbindir = "${bindir}" | 70 | sbindir = "${bindir}" |
71 | base_bindir = "${bindir}" | 71 | base_bindir = "${bindir}" |
72 | base_sbindir = "${bindir}" | 72 | base_sbindir = "${bindir}" |
73 | libdir = "${exec_prefix}/lib/${OLD_MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}" | 73 | libdir = "${exec_prefix}/lib/${OLD_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}" |
74 | libexecdir = "${exec_prefix}/libexec/${OLD_MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}" | 74 | libexecdir = "${exec_prefix}/libexec/${OLD_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}" |
75 | 75 | ||
76 | FILES_${PN} = "${prefix}" | 76 | FILES_${PN} = "${prefix}" |
77 | FILES_${PN}-dbg += "${prefix}/.debug \ | 77 | FILES_${PN}-dbg += "${prefix}/.debug \ |