diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-06-16 11:51:26 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-06-16 11:51:26 +0000 |
commit | dd93941fb352cdb677139768974edcaa4980b45a (patch) | |
tree | 9e8bd164d8a4bc45190e89463ca57182a8d7bc7e | |
parent | f857c1379e692764f3f3ac07b6a41e092d51fa2c (diff) |
sdk.bbclass: Remove unneeded PACKAGES, use DISTRO in SDK_NAME, set PACKAGE_ARCH to something which doesn't conflict with normal packages (from Poky)
-rw-r--r-- | classes/sdk.bbclass | 10 |
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 \ " - - |