diff options
Diffstat (limited to 'meta/classes/nativesdk.bbclass')
-rw-r--r-- | meta/classes/nativesdk.bbclass | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index 3fe4bf9a07..de7a88317c 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass | |||
@@ -5,10 +5,9 @@ EXCLUDE_FROM_WORLD = "1" | |||
5 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}" | 5 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}" |
6 | 6 | ||
7 | # | 7 | # |
8 | # Update BASE_PACKAGE_ARCH and PACKAGE_ARCHS | 8 | # Update PACKAGE_ARCH and PACKAGE_ARCHS |
9 | # | 9 | # |
10 | OLD_PACKAGE_ARCH := ${BASE_PACKAGE_ARCH} | 10 | PACKAGE_ARCH = "${SDK_ARCH}-nativesdk" |
11 | BASE_PACKAGE_ARCH = "${SDK_ARCH}-nativesdk" | ||
12 | python () { | 11 | python () { |
13 | archs = bb.data.getVar('PACKAGE_ARCHS', d, True).split() | 12 | archs = bb.data.getVar('PACKAGE_ARCHS', d, True).split() |
14 | sdkarchs = [] | 13 | sdkarchs = [] |
@@ -17,10 +16,8 @@ python () { | |||
17 | bb.data.setVar('PACKAGE_ARCHS', " ".join(sdkarchs), d) | 16 | bb.data.setVar('PACKAGE_ARCHS', " ".join(sdkarchs), d) |
18 | } | 17 | } |
19 | 18 | ||
20 | #STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-nativesdk" | 19 | STAGING_DIR_HOST = "${STAGING_DIR}/${MULTIMACH_HOST_SYS}" |
21 | #STAGING_DIR_TARGET = "${STAGING_DIR}/${BASEPKG_TARGET_SYS}-nativesdk" | 20 | STAGING_DIR_TARGET = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}" |
22 | STAGING_DIR_HOST = "${STAGING_DIR}/${BASEPKG_HOST_SYS}" | ||
23 | STAGING_DIR_TARGET = "${STAGING_DIR}/${BASEPKG_TARGET_SYS}" | ||
24 | 21 | ||
25 | HOST_ARCH = "${SDK_ARCH}" | 22 | HOST_ARCH = "${SDK_ARCH}" |
26 | HOST_VENDOR = "${SDK_VENDOR}" | 23 | HOST_VENDOR = "${SDK_VENDOR}" |