From 0596f6a3c3f901ba5051ff233a793474194d5de5 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Tue, 31 May 2011 15:07:35 +0800 Subject: native.bbclass: allow a native package to be populated into its own dir Signed-off-by: Dexuan Cui --- meta/classes/native.bbclass | 5 +++++ 1 file changed, 5 insertions(+) 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}" -- cgit v1.2.3