From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dan.rpsys.net ([93.97.175.187]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RBotz-0006EQ-CG for openembedded-core@lists.openembedded.org; Thu, 06 Oct 2011 16:26:23 +0200 Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id p96ERF5n012152 for ; Thu, 6 Oct 2011 15:27:15 +0100 X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ce4sYKFzacoG for ; Thu, 6 Oct 2011 15:27:14 +0100 (BST) Received: from [192.168.1.66] (tim [93.97.173.237]) (authenticated bits=0) by dan.rpsys.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id p96ERClv012132 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 6 Oct 2011 15:27:13 +0100 From: Richard Purdie To: openembedded-core Date: Thu, 06 Oct 2011 15:20:35 +0100 X-Mailer: Evolution 3.1.91- Message-ID: <1317910843.6398.87.camel@ted> Mime-Version: 1.0 Subject: [PATCH] native.bbclass: Ensure native recipes have a deterministic baselib value X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2011 14:26:23 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 --- 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"