Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3621987pxb; Mon, 21 Feb 2022 02:04:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxC2zJSdy0jpQ3CfhyISOqACNoHSobmJdw6sZe4IgiAJu6gp1CoZ435vaz1q3TaONP1ejhe X-Received: by 2002:a17:906:11d7:b0:6ce:2999:c831 with SMTP id o23-20020a17090611d700b006ce2999c831mr14944948eja.336.1645437845606; Mon, 21 Feb 2022 02:04:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645437845; cv=none; d=google.com; s=arc-20160816; b=JeB9MP2dhj+N05xLsreMqXsjbPrmxyIv/BRDJmGiBLFsnkvBHHx2XaS6evrl9U1kgP O62OniZrrq9ShlwOlpJ+Og/O9SAKoSztpbZ4LuuGV4prVynmdg2Sf6pgyeeZ5AgwXYdY M4zPlHgb5qRQOuuLXSIqy81ploIMaK0Kfdt2zeOUf9Qo2EtHVSpP2GjdnLYl1NlB7Ren XZ5N9Ecfk4jnZjvw1IlgC2dqiHBpowFH5pNgY2v6CDfI0uMpiBEf4otPNfLhD6A4HQf6 1sMn1raYNe1xmFrF9a8bkgTxPtJzfGozt2RfTB64C7mqc59du1Xcr2bHyxL+gaM9DXfY v9Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=kjo6oCEp4ZeCm6T0L4FyISCwW/KfjAY7AGwWm0uWeP0=; b=r5RjxnxO8KLbBB2XpWoyxCMO27SghmmykM4fYJJQLgcCWswR+b4x2+0t4ESRDOCj7f yBqTmstkj2+373nskJVOFSBH2JBABo4oBY5SeYVO7PJTCod6fFEK/PgkccbkydgmK8oL JhMnZ0aDG2npJP6GPGRnRI0zzRQ0WrFKygQWQZTRwoOyXilAZo8En4sqgdtSfG3Fdd/8 fOymFix2JsKJ1NAlr/W76hch98B8ej/NxkHwQ34koOLew0eGsBDJvD0sLv3QWeh2FR4U m7MZ9eMZtben5R22jqFCSljWMXr8gS9CDconYCkiXY5N49Bp7cn2kvTKLi9d4hJvVZwv IHIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rl19si5533730ejb.978.2022.02.21.02.03.42; Mon, 21 Feb 2022 02:04:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344727AbiBUIsd (ORCPT + 99 others); Mon, 21 Feb 2022 03:48:33 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:39822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344722AbiBUIs2 (ORCPT ); Mon, 21 Feb 2022 03:48:28 -0500 X-Greylist: delayed 77 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 21 Feb 2022 00:48:02 PST Received: from smtpbg587.qq.com (smtpbg126.qq.com [106.55.201.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D7E72BB for ; Mon, 21 Feb 2022 00:48:01 -0800 (PST) X-QQ-mid: bizesmtp86t1645433192tx52vncf Received: from localhost.localdomain (unknown [27.210.147.248]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 21 Feb 2022 16:46:30 +0800 (CST) X-QQ-SSF: 0120000000000020B000000A0000000 X-QQ-FEAT: 8nRPapzIrE2kEIZ1NApUVHteMTSAz6zr3bHT3f22cRfQ5BwT3cpjDzz0Ep+H5 gE09+hQ2yVb3x5Mecf+9LAJsebyXVklsLTMNq/eXXsvntUqlVUG47OlLoxSYGgfO14VJTd8 7JNECtyVVXRWuXSSh1jcO60qacWdpt/f7C2w2AnDSvJXmTImsRvCsVLWqn3AWY9qRMsSzOD XaYmwhkLMyAjytFsXcmDq9UJUAGWPxi0SAWmyP/+FBgsWVCMlfC1irhQqs3H7/GAkK0QMKW Dt2T3Aq/1a6yZdV27E4wAzN3mZlq0k4Zpk3vxMYYd9HS2TvePgeRNyU82FW/N2jjmPSg== X-QQ-GoodBg: 0 From: Jialu Xu To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, masahiroy@kernel.org, akpm@linux-foundation.org, corbet@lwn.net, rkovhaev@gmail.com, Jialu Xu Subject: [PATCH] scripts/tags.sh: parse *.dts.tmp for compiled sources Date: Mon, 21 Feb 2022 16:46:14 +0800 Message-Id: <20220221084614.1682022-1-xujialu@vimux.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:vimux.org:qybgspam:qybgspam2 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,KHOP_HELO_FCRDNS, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_NONE,T_SCC_BODY_TEXT_LINE, T_SPF_HELO_TEMPERROR autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are files listed in *.dts.tmp, parse them as *.cmd for compiled sources. Signed-off-by: Jialu Xu --- scripts/tags.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tags.sh b/scripts/tags.sh index 16d475b3e203..f64c33f4dabf 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -97,8 +97,8 @@ all_compiled_sources() { realpath -es $([ -z "$KBUILD_ABS_SRCTREE" ] && echo --relative-to=.) \ include/generated/autoconf.h $(find $ignore -name "*.cmd" -exec \ - grep -Poh '(?(?=^source_.* \K).*|(?=^ \K\S).*(?= \\))' {} \+ | - awk '!a[$0]++') | sort -u + grep -Poh '(?(?=^source_.* \K).*|(?=^ \K\S).*(?= \\))' {} \+ | awk '!a[$0]++') \ + $(find -name "*.dts.tmp" -exec grep -Poh '(?(?=^# \d+ "\K).*(?="))' {} \+) | sort -u } all_target_sources() -- 2.30.2