From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id DC7AF76FF6 for ; Sat, 26 Sep 2015 16:46:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id t8QGkHi0030901 for ; Sat, 26 Sep 2015 17:46:17 +0100 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 wrjE3b5f1euA for ; Sat, 26 Sep 2015 17:46:17 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id t8QGk4iw030898 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sat, 26 Sep 2015 17:46:16 +0100 Message-ID: <1443285964.19044.216.camel@linuxfoundation.org> From: Richard Purdie To: openembedded-core Date: Sat, 26 Sep 2015 17:46:04 +0100 X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Subject: [PATCH] multilib: Drop populate_sdk variable manipulation X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2015 16:46:18 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit I believe this code dates from previous times when we didn't extend the TOOLCHAIN_TARGET* variables to cover all multilibs. We now do this so this code acutally breaks things by removing the non-multilib variants. By changing this, a multilib SDK now contains both sets of base libraries which matches the tools we ship with it. If the user wishes to customise, this also becomes easier. Signed-off-by: Richard Purdie diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index cbf1fb8..052f911 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass @@ -94,10 +94,6 @@ python __anonymous () { # FIXME, we need to map this to something, not delete it! d.setVar("PACKAGE_INSTALL_ATTEMPTONLY", "") - if bb.data.inherits_class('populate_sdk_base', d): - clsextend.map_depends_variable("TOOLCHAIN_TARGET_TASK") - clsextend.map_depends_variable("TOOLCHAIN_TARGET_TASK_ATTEMPTONLY") - if bb.data.inherits_class('image', d): return