From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QqpC5-0000lT-NU for openembedded-core@lists.openembedded.org; Tue, 09 Aug 2011 18:30:17 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p79GPmAL014958 for ; Tue, 9 Aug 2011 17:25:48 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14866-01 for ; Tue, 9 Aug 2011 17:25:44 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p79GPbZk014952 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 9 Aug 2011 17:25:41 +0100 From: Richard Purdie To: Patches and discussions about the oe-core layer In-Reply-To: <6D5D2EC4-D6E1-4445-9048-66DA9BCF3A81@kernel.crashing.org> References: <6D5D2EC4-D6E1-4445-9048-66DA9BCF3A81@kernel.crashing.org> Date: Tue, 09 Aug 2011 17:25:05 +0100 Message-ID: <1312907105.14274.310.camel@rex> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: meta-toolchain-sdk build dir names 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: Tue, 09 Aug 2011 16:30:17 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Tue, 2011-08-09 at 10:46 -0500, Kumar Gala wrote: > When we do a build we get something like: > > opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux > > Where does the 'powerpc-poky-linux' name come from? > > I think this needs to be more specific to the build if required because of how AVAILTUNES, etc are set. > > So something like: > > opt/poky/1.0+snapshot/sysroots/ppc603e-poky-linux Agreed, this is a problem with how we're currently setting up the sdk structure. Something like this will likely fix it: diff --git a/meta/classes/populate_sdk.bbclass b/meta/classes/populate_sdk.bbclass index 0f3591b..8c19e83 100644 --- a/meta/classes/populate_sdk.bbclass +++ b/meta/classes/populate_sdk.bbclass @@ -5,7 +5,7 @@ SDK_DIR = "${WORKDIR}/sdk" SDK_OUTPUT = "${SDK_DIR}/image" SDK_DEPLOY = "${TMPDIR}/deploy/sdk" -SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${TARGET_SYS}" +SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${MULTIMACH_TARGET_SYS}" TOOLCHAIN_HOST_TASK ?= "task-sdk-host-nativesdk task-cross-canadian-${TRANSLATED_TARGET_ARCH}" TOOLCHAIN_TARGET_TASK ?= "task-core-standalone-sdk-target task-core-standalone-sdk-target-dbg" Cheers, Richard