summaryrefslogtreecommitdiff
path: root/classes/sdk.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-05-05 17:04:33 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-05-05 17:04:33 +0000
commitb18a5e103d157673315c618518f1700eda433d81 (patch)
tree7ab0fefb5b3daac9bd5e4736b88d5e4819f75304 /classes/sdk.bbclass
parent791b35b474ff387912e4dfc4b2536e08bc63142b (diff)
sdk.bbclass: Sync with Poky, override STAGING_DIR_HOST so native and sdk libs don't end up in the same place and conflict
Diffstat (limited to 'classes/sdk.bbclass')
-rw-r--r--classes/sdk.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/sdk.bbclass b/classes/sdk.bbclass
index cbc1742dab..a94332b92c 100644
--- a/classes/sdk.bbclass
+++ b/classes/sdk.bbclass
@@ -4,6 +4,7 @@ EXCLUDE_FROM_WORLD = "1"
OLD_PACKAGE_ARCH := ${PACKAGE_ARCH}
PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk"
+STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-sdk"
HOST_ARCH = "${BUILD_ARCH}"
HOST_VENDOR = "${BUILD_VENDOR}"
@@ -49,4 +50,4 @@ FILES_${PN}-dbg += "${prefix}/.debug \
${prefix}/bin/.debug \
"
-export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${HOST_SYS}"
+export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"