From patchwork Fri Jul 5 15:14:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 168553 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3703308ilk; Fri, 5 Jul 2019 08:14:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6JcePlwzWyCjLGIUWrX40S/LQ7LL+3yTyrnz+nIp7ZiGkYO+xiar1wM4TfSl1XB8dvcbD X-Received: by 2002:a17:90a:5288:: with SMTP id w8mr6283333pjh.61.1562339695592; Fri, 05 Jul 2019 08:14:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562339695; cv=none; d=google.com; s=arc-20160816; b=aqivT++FEs4CyUaRg8R1tAMc1mkox181sBo+HsRINmUr4Hk2Khi8I49F08Qdf5i/QG O37Y6b39ViEnc1UHVJnsg0GYTEdkXiDfxn4GzFMWhqU90/0UGpbR5QUXh+iGAanQObCF s3qOhjORqznTLAiSvbAn/EZBBmf1icGKoIxIhlLNqf9h70U3cKMrfOzFDFyj8UQtLxPt de1wJIVpIv3ekklXMi2CskvXClEBx/KyVyPLetBv9Py6MXQCUK/lV0gYKiicEiDOYi+H eF9iDD+OOovBXOxKDuLpZPM9+oxqY5Gc6+0oBCNIvzXMXwI7cxqdYLI6fLFc6sOBWmkX ykwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=j1X2qsh6YtfDSqime3qySV5hLLz1eF8cUUX82OnMgDs=; b=ww5Z6WRNi7sIBh7St82Uo8zps08Ydexa8E3K+VbG/8NBpb7r+ByIEQUoEcgHRpJhdw bSVFd0WmrglcKOfMkEJupEhf+muQ0/+NogtRTihvPC4NklqFuYUfP6+K/EgGi7hRRP64 CVjCGB5zqXOihduaD0ScGtOcvk9x7WkLZV4QZQnHMTQzKp6ajmA5tGMhzG9bSUcYSQDI oJYP9Us5JM/p1uaYA6NZnBi2xVALWC57L/CoOzKKfZ/v+FRggwNsU7bluSUDcrIgDbED JZzM9HiykQPFKawQZnj/l0rAt71/kZapmAPDAENWItkDgjyFx4LjgyQFpOhsoXc9Bu01 XfHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=rm6csqc1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b73si8770081pjc.53.2019.07.05.08.14.55; Fri, 05 Jul 2019 08:14:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=rm6csqc1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727984AbfGEPOy (ORCPT + 30 others); Fri, 5 Jul 2019 11:14:54 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:45678 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727090AbfGEPOu (ORCPT ); Fri, 5 Jul 2019 11:14:50 -0400 Received: from grover.flets-west.jp (softbank126026094249.bbtec.net [126.26.94.249]) (authenticated) by conuserg-09.nifty.com with ESMTP id x65FEYof003506; Sat, 6 Jul 2019 00:14:35 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com x65FEYof003506 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1562339676; bh=j1X2qsh6YtfDSqime3qySV5hLLz1eF8cUUX82OnMgDs=; h=From:To:Cc:Subject:Date:From; b=rm6csqc1Tk9DadRlazYBhRDKDg4cDmtlXOrmKWA0fRDAOdNVvYRQrxKRTvQCk2ufr 02bG5KER/FYeJCNrem0hPapgW5RO7YnI1Y4gRTOiT3zVZgmQ3exZmfChAEVSPUl8dY UEWy5T9beoVNcZkKljuE6SnG5Gp+rc2M50p9pCUjYa2caY5TGwW9HBSCAuN+VIJUpf +pjgTwlV+vmPHGec+S4nlV2StzcxXpg36UnFinsh8w/dnOTQQAZZfOvqt0khgBxvW0 rpssVZ/DdWsyeJ3taxJ7dr1zwvEso5jUeAaWxEsMlh01yhAaDvsSE32xQvyvmM344k Oy5RMqP4HMF5Q== X-Nifty-SrcIP: [126.26.94.249] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] scripts/tags.sh: drop SUBARCH support for ARM Date: Sat, 6 Jul 2019 00:14:30 +0900 Message-Id: <20190705151431.29122-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Our goal is to have more and more sub-architectures to join the ARM multi-platform, and support them in a single configuration. Remove the ARM SUBARCH support because it is ugly. Signed-off-by: Masahiro Yamada --- scripts/tags.sh | 36 ++---------------------------------- 1 file changed, 2 insertions(+), 34 deletions(-) -- 2.17.1 diff --git a/scripts/tags.sh b/scripts/tags.sh index cc991e18f4d1..f56edeb08739 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -41,15 +41,13 @@ find_arch_sources() for i in $archincludedir; do prune="$prune -wholename $i -prune -o" done - find ${tree}arch/$1 $ignore $subarchprune $prune -name "$2" \ - -not -type l -print; + find ${tree}arch/$1 $ignore $prune -name "$2" -not -type l -print; } # find sources in arch/$1/include find_arch_include_sources() { - include=$(find ${tree}arch/$1/ $subarchprune \ - -name include -type d -print); + include=$(find ${tree}arch/$1/ -name include -type d -print); if [ -n "$include" ]; then archincludedir="$archincludedir $include" find $include $ignore -name "$2" -not -type l -print; @@ -305,36 +303,6 @@ if [ "${ARCH}" = "um" ]; then else archinclude=${SUBARCH} fi -elif [ "${SRCARCH}" = "arm" -a "${SUBARCH}" != "" ]; then - subarchdir=$(find ${tree}arch/$SRCARCH/ -name "mach-*" -type d -o \ - -name "plat-*" -type d); - mach_suffix=$SUBARCH - plat_suffix=$SUBARCH - - # Special cases when $plat_suffix != $mach_suffix - case $mach_suffix in - "omap1" | "omap2") - plat_suffix="omap" - ;; - esac - - if [ ! -d ${tree}arch/$SRCARCH/mach-$mach_suffix ]; then - echo "Warning: arch/arm/mach-$mach_suffix/ not found." >&2 - echo " Fix your \$SUBARCH appropriately" >&2 - fi - - for i in $subarchdir; do - case "$i" in - *"mach-"${mach_suffix}) - ;; - *"plat-"${plat_suffix}) - ;; - *) - subarchprune="$subarchprune \ - -wholename $i -prune -o" - ;; - esac - done fi remove_structs= From patchwork Fri Jul 5 15:14:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 168552 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3703260ilk; Fri, 5 Jul 2019 08:14:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqyXXVJc+rLLg3eIFvdx5zknd/7P+krSV0Z87x8+ngF7WymhstKIPR+IeVaYMMP7FuFLce1+ X-Received: by 2002:a17:902:6a87:: with SMTP id n7mr6168652plk.336.1562339692389; Fri, 05 Jul 2019 08:14:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562339692; cv=none; d=google.com; s=arc-20160816; b=bRHqZP8Q8rbE+pEjmASj6KMjThOYNcRSJ3JO6g82UuYJywghrwe07foX5BhvzGNIaY SlfwhOpB2qJvvowqP1BjZLE0k6hDA7xqcFclHTeSbRg55PHX2sSadhWgrz40BpSKBtP1 9fafC0pykG8r9kXqiX/+HPg91wos7tGM5CfCeXAe40NSwunyuD9HT0M2GIoxABHfE7TA +5GACXfkRXulDsnDahZMlOA0mM5/3Df7mtL1LB/yMkGZhPurcsuu8CM8HGVX0j3nxDNr SU1if5MsNU3xCfn0fK2W4L8HqDzHsglkNrByKEJFxgRtKfLiix5aadwEtw1quFhMkmRJ 5ZFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=TLZp6iyBNM3/w4lOLTuX+yiGDhFcOXm7Hmg3zSZQpk4=; b=uXL9KL+MxLVGlxMHzcSS5g+jTn5mVXQU/nl74VnNSaVh9WPor/dxx2mylIRVvwRpep 0J/tagFRTZ5HIa4xH/hCG/pGqKRRKG2DTtfB5UGtVX0WMi0EYn6JjniNj9fMCwaBDsM7 Q7n6RMjIYJMNuKFhcaDPEu2p3PeZ17Uue8Oocotn1FBzpPh09gBEd6lfQpuCbsKlvM6x iXuc+Kk2iLn98LTUyuZvqBShcj9XElyeM9i2NHUBok9mCPCTA9szujIOonLgXqjc+dDw kMW9Isl3DoKIxTLv98qISwKpUdmkTNCfaVognQB2lzP/I26nAEWJnqHWzwzaDkQtcrC5 essA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=OtnOwgUY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b73si8770081pjc.53.2019.07.05.08.14.52; Fri, 05 Jul 2019 08:14:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=OtnOwgUY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727770AbfGEPOu (ORCPT + 30 others); Fri, 5 Jul 2019 11:14:50 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:45679 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727326AbfGEPOu (ORCPT ); Fri, 5 Jul 2019 11:14:50 -0400 Received: from grover.flets-west.jp (softbank126026094249.bbtec.net [126.26.94.249]) (authenticated) by conuserg-09.nifty.com with ESMTP id x65FEYog003506; Sat, 6 Jul 2019 00:14:36 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com x65FEYog003506 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1562339676; bh=TLZp6iyBNM3/w4lOLTuX+yiGDhFcOXm7Hmg3zSZQpk4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OtnOwgUYJo9CUGi6k7HB+N9s2s1/CvRxNZMLAP2+o3n7nWrOu+Zn7muQG3Teq4zfK ADZ9cKRY1dG1ab5VZWR9oL4bBO23y28pe0jGeiT9qQ7j9X5SyLmCeEyVLHT3+1kG41 9SV7y2B2ctOl8KuhnedRk0c3sHQTI9CoEgGL7OHhNPTHdu8K6hNA3drmtQFINL6d7O Dl4qaNXOabOXFRfhCxvWj2dvWMVfEcy8wYO1dfS4zS1JstpTx8FoV6woR1EFJnAjHG 9D//mAhoBsF592n/8wrEosTsGruqSecBq+gW9df6yDACgwNhLE1m0OYUSZOO9gX8mi kpDzR+MuagwCQ== X-Nifty-SrcIP: [126.26.94.249] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 2/2] scripts/tags.sh: remove unused environment variables from comments Date: Sat, 6 Jul 2019 00:14:31 +0900 Message-Id: <20190705151431.29122-2-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190705151431.29122-1-yamada.masahiro@socionext.com> References: <20190705151431.29122-1-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This script has no reference to ${ARCH}, ${src}, ${obj}. Signed-off-by: Masahiro Yamada --- scripts/tags.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/scripts/tags.sh b/scripts/tags.sh index f56edeb08739..684db72a8386 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -6,7 +6,7 @@ # mode may be any of: tags, TAGS, cscope # # Uses the following environment variables: -# ARCH, SUBARCH, SRCARCH, srctree, src, obj +# SUBARCH, SRCARCH, srctree if [ "$KBUILD_VERBOSE" = "1" ]; then set -x @@ -35,7 +35,7 @@ elif [ "${ALLSOURCE_ARCHS}" = "all" ]; then ALLSOURCE_ARCHS=$(find ${tree}arch/ -mindepth 1 -maxdepth 1 -type d -printf '%f ') fi -# find sources in arch/$ARCH +# find sources in arch/$1 find_arch_sources() { for i in $archincludedir; do