diff options
author | Dexuan Cui <dexuan.cui@intel.com> | 2011-05-31 15:07:35 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-14 14:37:30 +0100 |
commit | 0596f6a3c3f901ba5051ff233a793474194d5de5 (patch) | |
tree | 079630233d658296def0024ac652c7042ac1265b | |
parent | c5f092892637c3442426984251139f93d55d3dd7 (diff) | |
download | openembedded-core-0596f6a3c3f901ba5051ff233a793474194d5de5.tar.gz openembedded-core-0596f6a3c3f901ba5051ff233a793474194d5de5.tar.bz2 openembedded-core-0596f6a3c3f901ba5051ff233a793474194d5de5.zip |
native.bbclass: allow a native package to be populated into its own dir
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
-rw-r--r-- | meta/classes/native.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 3a31b6c091..90fcd131c6 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass @@ -67,6 +67,11 @@ base_prefix = "${STAGING_DIR_NATIVE}" prefix = "${STAGING_DIR_NATIVE}${prefix_native}" exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" +NATIVE_PACKAGE_PATH_SUFFIX = "" +bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" +libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" +libexecdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" + do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}" do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_NATIVE}" |