summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/cross.bbclass4
-rw-r--r--classes/crosssdk.bbclass2
2 files changed, 5 insertions, 1 deletions
diff --git a/classes/cross.bbclass b/classes/cross.bbclass
index cf14db1957..d3b27e6cf0 100644
--- a/classes/cross.bbclass
+++ b/classes/cross.bbclass
@@ -50,6 +50,10 @@ exec_prefix = "${prefix}"
base_sbindir = "${base_prefix}/bin"
sbindir = "${exec_prefix}/bin"
+# staging should be special for cross
+STAGING_DIR_HOST = ""
+SHLIBSDIR = "${STAGING_DIR_NATIVE}/shlibs"
+
do_install () {
oe_runmake 'DESTDIR=${D}' install
}
diff --git a/classes/crosssdk.bbclass b/classes/crosssdk.bbclass
index 0b1af8fc2f..452df4cd35 100644
--- a/classes/crosssdk.bbclass
+++ b/classes/crosssdk.bbclass
@@ -12,4 +12,4 @@ TARGET_OS = "${SDK_OS}"
TARGET_PREFIX = "${SDK_PREFIX}"
TARGET_CC_ARCH = "${SDK_CC_ARCH}"
-
+STAGING_DIR_HOST = "${STAGING_DIR_SDK}"