From patchwork Thu Jan 3 07:10:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154709 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp365241ljp; Wed, 2 Jan 2019 23:10:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN6h7xeLpL+DfueaaZbBl4NY3Upi96RkuonrLFoMATKCnupOgb0BzFSECh6RTHmdZdw2pT1q X-Received: by 2002:a63:3d1:: with SMTP id 200mr44531133pgd.68.1546499429248; Wed, 02 Jan 2019 23:10:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546499429; cv=none; d=google.com; s=arc-20160816; b=l7K09nmtl0ohZZYSaVPg4npfagDOjSBaabw9jBhnQhgng8iLxc9u+A5C9Nae+mDukn O3aInLLS21/VVxmLBGfoI5r9MD/qiq0MNk/FI8MxvgNLfBXZ/s+JYlMiCcY7BTTUpevz nwbBzP4Zhe3RttbDT4UdPq4V8pPYD7AZt9Xdf4nk6xeMdibkCwfPOkPTfZvsP9VzhVdh t7V+IhvvG4E71SMbl0+S795rLePP/sinDS+a5bC+nk5TaBfvopHcfWxd1dULWlV1EZgi FnT2/0SvSIzbxxBLQdgbZcmd23QMZ2ixDSve8VZa7BTDLbHTpi3h056Sv4fhqi49xnxb lQAQ== 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:message-id:date:to:from:dkim-signature:delivered-to; bh=QK9ySbIyymrbE16hNjSm/AzOmb5Zzak/Qj9tryN8U04=; b=HlwnJ85J5/o08KOUgad/CHGKQ9M50csn8JcXor8s/arQOCcEko2hvVEQxZoH6pyOMi KOqUdtB+8a/YYJoNpUEmkS6Hq1yIUCMVmE27+ltOJlyLeoZdJ3+b1CKlFLNHM+XBqaVq Ys4VReD37uldL8FOSAcG8JgPVUn+R+aEkcwBsBSaTW0tiXDUPV88q67k3E+P8ip+pVXm JGBb6gH72qwD76XTyMvktCRVpKxCT34qXh45lc2azfRw6yl59kdJ+wq63DsL+BuJ7Gl1 Ki+zL1IIkXg7QZNZ3/OqFHP7CgIX5JrljgIKAZRiRFCRB4Ys2KfUGvChwIWgbi5znunJ Mtig== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=GR7sKSGg; 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 h75si53619294pfj.257.2019.01.02.23.10.28; Wed, 02 Jan 2019 23:10:29 -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=GR7sKSGg; 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 806C660125; Thu, 3 Jan 2019 07:10:24 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by mail.openembedded.org (Postfix) with ESMTP id 268E560125 for ; Thu, 3 Jan 2019 07:10:22 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id g62so16268058pfd.12 for ; Wed, 02 Jan 2019 23:10: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:mime-version :content-transfer-encoding; bh=oTB6RDRTMLZLDVXdvctRzNC1Nb1otm2TVnTC5JkCSKg=; b=GR7sKSGgnEd3XAiYMPJ9HWeDzLuAKnhPzZ/0qMHkuoyd5G3LJLpHs4KBqXhxQKYRGp t7pKiFo/auDNzFSDiTQPQO1pjRZeqGDNjKmDRQeyFYrVSRYNTj2R31NKSKRW0ejitPbU Bw36tX2vzKAyGW9pcE7WRjJS4Cuh8dvITJAmi0QmkjIZdRsdlawF7TWQmPmopMfmNZDX dybcac21rskwFCIe0cr7w30epY1PAkVHfzg4u3ufqoRgjJWMgWy3FndGWaOiddPybR2W hncSLj8wLGlArfjcI+c1hf+pdPc/qhNnt8gl9ctcJgYWEL8bXssBUDQnLNah8cw3FSLg L3Dg== 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:mime-version :content-transfer-encoding; bh=oTB6RDRTMLZLDVXdvctRzNC1Nb1otm2TVnTC5JkCSKg=; b=R6P109JFjGsI5ePfPT/y5cFKzrI0E63FWLPVcBCfNSfBDjkIV9vhSeOfsJfipBGrlt EOb3qSbu8I7oiplvnnMZbeS7hDSRy/TdNSBfltUfTfcH4GPn26/TeOnnMHd7BvXuI0Wg ywn23ZB8/g0p5kWTJEf3wXHzoXISfjUMt60qHwfZ6m+EEgy8vN35LDRaMHiWpAngTdZ3 swrP/sR2qOnyvTYcC5n0WAN7SztqE7fQmeRVcA5UnVWZ0/AKr2l5TmOcsD9w1elhlIrH 5789nFXUyxvtgxeFGsnyBACNvKJZZ+nOkB9DrxfGtUeHl8MFexNI0wpFb1tl+3oRSVfR 6GkQ== X-Gm-Message-State: AA+aEWZpS33oz6xCjMEt6zATDPS3cT3rA5qVTmBURaaIbqKpw7HFhfZ9 rQVNYeAVLdeJ6nJLkv14sf6OqiKAY0I= X-Received: by 2002:a62:2606:: with SMTP id m6mr46264212pfm.133.1546499423471; Wed, 02 Jan 2019 23:10:23 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::6ee7]) by smtp.gmail.com with ESMTPSA id m67sm107071487pfb.25.2019.01.02.23.10.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Jan 2019 23:10:22 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 2 Jan 2019 23:10:08 -0800 Message-Id: <20190103071008.5065-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH] feature-arm-thumb.inc: Do not tie generating thumb ISA to -march 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 -march=armv5't'e means that CPU can execute thumb ISA, we do not need to tie this to exclusively generating thumb ISA, this change means that when we have thumb in tune features then it can use 't' in -march options irrespective of ISA being thumb or arm. This fixes derivative of armv5 tunes and paves way for gcc9 where e.g. armv5e is dropped and minimum arch supported is armv5te Signed-off-by: Khem Raj --- meta/conf/machine/include/arm/feature-arm-thumb.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
diff --git a/meta/conf/machine/include/arm/feature-arm-thumb.inc b/meta/conf/machine/include/arm/feature-arm-thumb.inc index 0b47ccad02..36bda6c67a 100644 --- a/meta/conf/machine/include/arm/feature-arm-thumb.inc +++ b/meta/conf/machine/include/arm/feature-arm-thumb.inc @@ -24,7 +24,7 @@ python () { TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ' -m${ARM_M_OPT}', '', d)}" # Add suffix from ARM_THUMB_SUFFIX only if after all this we still set ARM_M_OPT to thumb -ARMPKGSFX_THUMB .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', '${ARM_THUMB_SUFFIX}', '', d) if d.getVar('ARM_M_OPT') == 'thumb' else ''}" +ARMPKGSFX_THUMB .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', '${ARM_THUMB_SUFFIX}', '', d)}" # what about armv7m devices which don't support -marm (e.g. Cortex-M3)? TARGET_CC_KERNEL_ARCH += "${@bb.utils.contains('TUNE_FEATURES', 'thumb', '-mno-thumb-interwork -marm', '', d)}"