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-09 16:58:33 +0100 |
commit | 5565b30589e8b716aca5c8c683a340f59af9a402 (patch) | |
tree | 9eca08dd6bf424d8cd24e7005fafd989bfe4311d /meta/classes | |
parent | 7a086abc257ed433fda7a8a21c23a23199dc7cd5 (diff) | |
download | poky-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.bbclass | 5 |
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}" | |||
67 | prefix = "${STAGING_DIR_NATIVE}${prefix_native}" | 67 | prefix = "${STAGING_DIR_NATIVE}${prefix_native}" |
68 | exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" | 68 | exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" |
69 | 69 | ||
70 | NATIVE_PACKAGE_PATH_SUFFIX = "" | ||
71 | bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | ||
72 | libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | ||
73 | libexecdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | ||
74 | |||
70 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}" | 75 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}" |
71 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_NATIVE}" | 76 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_NATIVE}" |
72 | 77 | ||