From patchwork Wed Dec 19 18:13:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154289 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5238046ljp; Wed, 19 Dec 2018 10:13:49 -0800 (PST) X-Google-Smtp-Source: AFSGD/UQhbhR7FBHmv7Yjpkta9N6OeTqNBfCTHi8MLI88b/Hms6buBu6a5nFx65MVozBc3VLAUvu X-Received: by 2002:a63:295:: with SMTP id 143mr19841548pgc.362.1545243229739; Wed, 19 Dec 2018 10:13:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545243229; cv=none; d=google.com; s=arc-20160816; b=TNx09MzmhTiIqvR42zHACOXVL0m1hEvdDUmvrp0fM6eC7wwaZsJzVWM5kB3Uh9Z2y4 Mq9fAr4RUKLRVr8LluW4vWf9iY3ggc986oJ8uY4usOilNO+noBQGhHKvanh6E3umJv0s TDLExicoEnHiaNoKqd2cb0WuBpSz51OKdW0xE+24TbGdj8nnMfWkUwsaYjFoDWGl1x/S to8u753gDZtXFz+jAZ5xf7rDvGJzCfGEA1PjXa4YtXmEycFNlNw3mcg897/zMYE6F7ve /wHYEJ1SzP/VT50ihleVEivw4vuH85i9NN/a0994rqKsR2vQbOzqZqCbgFBd4/sZmZAb 2u0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=hn4hgaEa6gJ5NPoLxhmPb3hc/BA9l+b+w6D5RWiJGXk=; b=fjUFlTCP9SsjQPgb6DQ/NV41HHU2oYHi9uCpoi3u8tJalYATgf/6ljHFnVwpSKFXfH f4eFPH+x/rljWu+yYbulGkfdRsxybXjcUObYLMvpHTh5SkZJRP2LzOn4rc1zGNEZIvsy Fp5KXYpLyARLuTj9DqHKJeY8zl1VlIP+arminczw40rhCnqAdPhVS78PBGnmijGG++qz PddYLkzyU1pQ4isSEqjg9xsCavDew6qWWmQ1QzKSrA2CwKuqVZFjaFxvpjd/M4g9mPdD c49JSZZRrv6TQSBAPYXJQErrSDZ09jOnkjE/E40XkrQfKKO8q5pjGKJPjFE8P1awES6R 9bMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=p9JKVRlz; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id p10si16153874pgi.549.2018.12.19.10.13.49; Wed, 19 Dec 2018 10:13:49 -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=@gmail.com header.s=20161025 header.b=p9JKVRlz; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A21EE7BE70; Wed, 19 Dec 2018 18:13:31 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mail.openembedded.org (Postfix) with ESMTP id 4815674C4D for ; Wed, 19 Dec 2018 18:13:23 +0000 (UTC) Received: by mail-pf1-f176.google.com with SMTP id g62so10163833pfd.12 for ; Wed, 19 Dec 2018 10:13:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Dfbr5CKp2p5LQ4FJVkKRyrZ0wJMcsU1hFZQxpM9qpxE=; b=p9JKVRlz0TdT5GD4/U1K0IKgcgQjbMb+L4KSBNgnpP84lmqiCnVHlksRI1/3CmSB/T KVWxya17USRt2rOAidLCzT6kK9uxBep7mp2YzsK3q7khFAfy9M5FhCzjwncfgMU5lcvq XYlbjfW62nQAkTQXCpwKpld418iQdNtB5uAEANFkGhQx3MsDBaopCfKONGgwj4yY/fy9 udFyekFwxRgSpXhO1pHJXjSuxwjRRMVF0Iy7+XQYZSO2DQqjyTdemFTb8B/MtbgEfzru Jw2aTkH8+4nGcMnGox8oqsZN7YBwYSfB9/2fUCY+1y/ArZV7OjvVmyhKfy9m6hgPF2qv AjKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Dfbr5CKp2p5LQ4FJVkKRyrZ0wJMcsU1hFZQxpM9qpxE=; b=Q9Y+u5fjzvxOK/EEyMSc0V58jsoRyp8lnd7lC+jjtjyaDYqbycMI+6q1u8a3jRXnGZ r8XphjgsDt2SHloLb8MPCj6GL21MekGm1O3Jx3LPJugg+x1d9uJh6EF3CRIR4lgZY3Hd ovHiz5ajbero3dlxFodIgnhTgpnGbFPexHafiiOSscjFiA09DF49lTtjxlLyKnm0PMAm M1/7Pb1vcg403x8nlTZBM4RQTbGnzq2tNN580hUmZqVOjTFoLGr4HOrXk43p3l4kdZTM rQYZ3MaasAFmC0yprEPzrFufv6f2sCLQSWS+9MkdFQo0GwrFdPbVfd5agEgX9DxBxC5n YpOw== X-Gm-Message-State: AA+aEWZBOlAq0lHrE0KhLuYv4B02u72zTzFCgJOH93CFRzUjEBpLlRPr k1oYWS57BttJjDCFYEMLzFMGCZ0l8rk= X-Received: by 2002:a62:5b83:: with SMTP id p125mr21682260pfb.116.1545243204035; Wed, 19 Dec 2018 10:13:24 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::19ec]) by smtp.gmail.com with ESMTPSA id q75sm27536922pfa.38.2018.12.19.10.13.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Dec 2018 10:13:22 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 19 Dec 2018 10:13:09 -0800 Message-Id: <20181219181309.8320-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181219181309.8320-1-raj.khem@gmail.com> References: <20181219181309.8320-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 5/5] base.bbclass, classextend.py: Drop catering to gcc-initial 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: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/classes/base.bbclass | 1 - meta/lib/oe/classextend.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index e6af673847..f1a3c0e53e 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -264,7 +264,6 @@ python base_eventhandler() { if isinstance(e, bb.event.RecipePreFinalise): if d.getVar("TARGET_PREFIX") == d.getVar("SDK_PREFIX"): d.delVar("PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils") - d.delVar("PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial") d.delVar("PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc") d.delVar("PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++") d.delVar("PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs") diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py index d2eeaf0e5c..662707b859 100644 --- a/meta/lib/oe/classextend.py +++ b/meta/lib/oe/classextend.py @@ -114,7 +114,7 @@ class NativesdkClassExtender(ClassExtender): def map_depends(self, dep): if dep.startswith(self.extname): return dep - if dep.endswith(("-gcc-initial", "-gcc", "-g++")): + if dep.endswith(("-gcc", "-g++")): return dep + "-crosssdk" elif dep.endswith(("-native", "-native-runtime")) or ('nativesdk-' in dep) or ('-cross-' in dep) or ('-crosssdk-' in dep): return dep