]> code.ossystems Code Review - openembedded-core.git/commitdiff
native.bbclass: Ensure native recipes have a deterministic baselib value
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Oct 2011 22:13:54 +0000 (23:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Oct 2011 21:43:09 +0000 (22:43 +0100)
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@linuxfoundation.org>
meta/classes/native.bbclass

index 5e45aed37b537a79e6af0693debeb38e036eb16f..ba8b0bf25e56678c49d7ab47b68703d7d8b05869 100644 (file)
@@ -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"