[oe-commits] Richard Purdie : native.bbclass: Ensure native recipes have a deterministic baselib value

git version control git at git.openembedded.org
Fri Oct 7 10:35:58 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: d0915fb0a2cc80ad45b3fd526d3b29a91d99572c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d0915fb0a2cc80ad45b3fd526d3b29a91d99572c

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Oct  6 23:13:54 2011 +0100

native.bbclass: Ensure native recipes have a deterministic baselib value

Changes to baselib by specific machine configuration were resulting
in sstate cache invalidation, particularly in multilib configurations.

This patch ensures this doesn't happen and native sstate cache files
are reusable.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/native.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 5e45aed..ba8b0bf 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -69,6 +69,8 @@ exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
 
 libdir = "${STAGING_DIR_NATIVE}${libdir_native}"
 
+baselib = "lib"
+
 # Libtool's default paths are correct for the native machine
 lt_cv_sys_lib_dlsearch_path_spec[unexport] = "1"
 





More information about the Openembedded-commits mailing list