summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2011-05-31 15:07:35 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-09 16:58:33 +0100
commit5565b30589e8b716aca5c8c683a340f59af9a402 (patch)
tree9eca08dd6bf424d8cd24e7005fafd989bfe4311d /meta/classes
parent7a086abc257ed433fda7a8a21c23a23199dc7cd5 (diff)
downloadpoky-5565b30589e8b716aca5c8c683a340f59af9a402.tar.gz
native.bbclass: allow a native package to be populated into its own dir
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/native.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index e06f02a1bf..1b510f6c90 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -67,6 +67,11 @@ base_prefix = "${STAGING_DIR_NATIVE}"
67prefix = "${STAGING_DIR_NATIVE}${prefix_native}" 67prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
68exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" 68exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
69 69
70NATIVE_PACKAGE_PATH_SUFFIX = ""
71bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}"
72libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}"
73libexecdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}"
74
70do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}" 75do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}"
71do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_NATIVE}" 76do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_NATIVE}"
72 77