diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-08-08 23:40:51 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-08-21 10:42:18 -0700 |
commit | d2a283ad002660e46b2f8d40a8ddfabad457d8a4 (patch) | |
tree | 7ac0b8a3cbdab5eb4c5c2aeb3faad2dbfd42e2e5 /classes | |
parent | 4ffe15ff9878462de454a87cf73c37853f905881 (diff) |
cross.bbclass: Override STAGING_* paths to match cross installation
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/cross.bbclass | 4 | ||||
-rw-r--r-- | classes/crosssdk.bbclass | 2 |
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}" |