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=