From patchwork Wed Dec 21 16:58:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 88762 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp2372266qgi; Wed, 21 Dec 2016 08:59:10 -0800 (PST) X-Received: by 10.98.155.9 with SMTP id r9mr4941238pfd.71.1482339550174; Wed, 21 Dec 2016 08:59:10 -0800 (PST) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id w8si27298066pgw.107.2016.12.21.08.59.09; Wed, 21 Dec 2016 08:59:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7C5147740B; Wed, 21 Dec 2016 16:59:02 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by mail.openembedded.org (Postfix) with ESMTP id 0ABAF7740B for ; Wed, 21 Dec 2016 16:59:00 +0000 (UTC) Received: by mail-wm0-f50.google.com with SMTP id g23so27971281wme.1 for ; Wed, 21 Dec 2016 08:59:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=4BcyPkahY4kk9NMgAXOF/+Wu+k/peQ+xyER5FTMqG3I=; b=lxkiahnmKoQp9cosHoZ1+tqP/E5ZVKzKMFjFCx5P038aS1wk6fSh+0moCeqA7CIf4w dyCgqxZJ+0sCGCV2TXhYaThaDG43QVpA7ymZO93SUTOfJa8No/LdV+pZBu3EIFmfOofa 5rtvRZ7B8cEz2UaPYZKIpY18CVDLcJvgJ0NHQ/y1IM9n58FKPICu+bHyqbEJl+THZHeg tBK2VV55QxIMqsxHerhA1Y5TvBlCl8KsZxLiI2DId3vr6MxvZvB7mXz+CMJFlXL0SIDr 7vSeEZn/EnTzgw/EGHomiVU8IR1daBzsiyQcaSStAbRHNHjMpKt+55/4hcX9YeOHGxaR JZhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=4BcyPkahY4kk9NMgAXOF/+Wu+k/peQ+xyER5FTMqG3I=; b=XoGS10ddq0uIjMmmSk9Q/Cti8rdS/jTArK7pksL3WtjyzavlxIqENHnEty77knHtED QxNlHUKl5DRcdVhzAA1F3BS/+c1TFtz4N4b62B79PTjTKxtGMNrmv5h4nBci385HU3NT bxltax0QgZupu+zFcQsoWqpWqyf+I8l8x97+WVML8yLHmsrkSsc74lOcHjFLZLOuTEB+ eT2lhkCmSVnAMr9iJbAPTb9PIFjYidPC9y3FoFLREv0cLQPu0FguWXaVRhq2GsjBy5VZ 8AUdUdxLKmYC2fCU3rLgChjMg+BkT7s4Ax0sl95pOkdQMw/5b2U/qkFAPgVSCPAGEl5q yc2A== X-Gm-Message-State: AIkVDXLzFPuPPgpaimMeH+Ev2LBlQL09RZzcpr+1AvkeqijUiT9mWYz5IMCLXoo1zZlpEkyO X-Received: by 10.28.47.196 with SMTP id v187mr7658749wmv.75.1482339541424; Wed, 21 Dec 2016 08:59:01 -0800 (PST) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id i10sm31503377wjd.15.2016.12.21.08.59.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Dec 2016 08:59:00 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 21 Dec 2016 16:58:57 +0000 Message-Id: <1482339537-1549-1-git-send-email-ross.burton@intel.com> X-Mailer: git-send-email 2.8.1 Subject: [OE-core] [PATCH] populate_sdk: don't force target debug packages into SDK 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org TOOLCHAIN_TARGET_TASK doesn't need to explicitly list sdk-target-dbg because if SDKIMAGE_FEATURES contains dbg-pkgs (as it does by default) then they'll all be installed anyway. This means that if the user removes dbg-pkgs from SDKIMAGE_FEATURES then the SDK correctly doesn't have debug packages in. [ YOCTO #9078 ] Signed-off-by: Ross Burton --- meta/classes/populate_sdk_base.bbclass | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) -- 2.8.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 48bc395..8d117a9 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass @@ -34,10 +34,7 @@ SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${REAL_MULTIMACH_TARGET_SYS}" TOOLCHAIN_HOST_TASK ?= "nativesdk-packagegroup-sdk-host packagegroup-cross-canadian-${MACHINE}" TOOLCHAIN_HOST_TASK_ATTEMPTONLY ?= "" -TOOLCHAIN_TARGET_TASK ?= " \ - ${@multilib_pkg_extend(d, 'packagegroup-core-standalone-sdk-target')} \ - ${@multilib_pkg_extend(d, 'packagegroup-core-standalone-sdk-target-dbg')} \ - " +TOOLCHAIN_TARGET_TASK ?= "${@multilib_pkg_extend(d, 'packagegroup-core-standalone-sdk-target')}" TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= "" TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}"