summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/sdk.bbclass10
1 files changed, 4 insertions, 6 deletions
diff --git a/classes/sdk.bbclass b/classes/sdk.bbclass
index 834081fccc..38df66eb4d 100644
--- a/classes/sdk.bbclass
+++ b/classes/sdk.bbclass
@@ -2,8 +2,10 @@
# or indirectly via dependency. No need to be in 'world'.
EXCLUDE_FROM_WORLD = "1"
-SDK_NAME = "${TARGET_ARCH}/oe"
-PACKAGE_ARCH = "${BUILD_ARCH}"
+SDK_NAME = "${DISTRO}/${TARGET_ARCH}"
+
+OLD_PACKAGE_ARCH := ${PACKAGE_ARCH}
+PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk"
HOST_ARCH = "${BUILD_ARCH}"
HOST_VENDOR = "${BUILD_VENDOR}"
@@ -20,11 +22,7 @@ prefix = "/usr/local/${SDK_NAME}"
exec_prefix = "${prefix}"
base_prefix = "${exec_prefix}"
-PACKAGES =+ "${PN}-dbg"
-
FILES_${PN} = "${prefix}"
FILES_${PN}-dbg += "${prefix}/bin/.debug \
${prefix}/sbin/.debug \
"
-
-