Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4364524pxb; Mon, 21 Feb 2022 19:11:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJysLrlfkOq4nr6KtiAIcNRsDJIHLL7D4/j6qZ0qN88l3QWUL7TWZj6mI5uybtH9izQLqk4z X-Received: by 2002:a05:6a00:24c7:b0:4e1:cb76:32d1 with SMTP id d7-20020a056a0024c700b004e1cb7632d1mr21742743pfv.36.1645499500455; Mon, 21 Feb 2022 19:11:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645499500; cv=none; d=google.com; s=arc-20160816; b=PC3Wg0RNXfURvjASmOQgjyKLTjOhUnDqas/6y5bLQl/NheGcpqfsvgw1PIE8e9GNtF DPp2vBgP1ecdI1lKqbI4TDZIcfI/U5NDBeGuv0tKrd0ExwOu9qm6noB2PQmuyQa+7szb OfdK4NQI0z4Ts3v7vo1e36EBY7Hxkm1ql4CQ5xmGv/r4Ez8TRnrEzeovOtMcg3sfE9tR WZP9zIaKh8/JZH1POhnYbJIcFzsN8aNi0GCgmBTIkk4O3IDhIkWq1igh6MvnQssvniKI MLyHCJnjGJboPbkT2Pu7wFp4PYiY4yHYok+nn/mno1O4dKSvB/hRg/gN9BzCUql7RjYJ vQ6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=wBqJ9/GpIlL6rlGbNbSQ6pExSwYHZ7W3D0VCbn4oviM=; b=hIwh9+7E3vIwhQb60PghsA1QrVbytppSxQ3t0r1Fu+IQpKzk63y1Oq2EqKRpygzORo AqUw4L1Mk7JJ3zAar6FDLw9a1ViJ59lpJRKFsxGfR9cgKdaVhAdkLiGSyRg1obN7lE2q 5ziPsQ+eCqek0kHX9PHF7eehQlJtXKncWMjJG3nFvn3B8B9flfe8YiKRpL+AyctcUXAN lcmgZBFY2eoO/JKg2HS0OsKk+LSz60VxyY+Ea8ORSEHkaLJTgrmB96LrVtWh6FCl4Y7o eGK1sVzIvl3PItnpzw/UlfEGIO3j8jQVXbTCMC6HGfDYPcRNgeyiDyOSL2q1en2UsKCw bXkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=kn6dzwLZ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pg15-20020a17090b1e0f00b001bc6da41e36si853171pjb.118.2022.02.21.19.11.24; Mon, 21 Feb 2022 19:11:40 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=kn6dzwLZ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233482AbiBVDHr (ORCPT + 99 others); Mon, 21 Feb 2022 22:07:47 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:40650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233412AbiBVDHo (ORCPT ); Mon, 21 Feb 2022 22:07:44 -0500 Received: from conssluserg-05.nifty.com (conssluserg-05.nifty.com [210.131.2.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C26F510CC for ; Mon, 21 Feb 2022 19:07:19 -0800 (PST) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 21M36qlP005566 for ; Tue, 22 Feb 2022 12:06:53 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 21M36qlP005566 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1645499213; bh=wBqJ9/GpIlL6rlGbNbSQ6pExSwYHZ7W3D0VCbn4oviM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=kn6dzwLZ/ntKgxYh/HYBUG5ymUlx05xLRPut12HUTGEN/F1mtnbkQt6JcGPmfXHNA n2lsWhrDzCyRiT937xBt+nEmwR93ClGPuxUJmzRsnXZVC0ODmxM4lQrGvYoyd7jikZ 1xXBfp6tm9qXDqfMj3yQrBvr+XM2cxToFEfNs+BFebmVTO5h/6ObKMjuSYWtjeOKee JaYivsxFX1+y6r24cXKRwZ+b4mrMKhaOtDqayUHnHTIq7xvOll9oaspsBZdtPVkWIQ 5KuFoo7mFqeUFXq+/kf6N6J5uBvG/+pljsagud9bRiyJ/I6xyClR9hNAEXtbwqwbOu FpD11f1TKctSw== X-Nifty-SrcIP: [209.85.210.180] Received: by mail-pf1-f180.google.com with SMTP id d17so10617648pfl.0 for ; Mon, 21 Feb 2022 19:06:52 -0800 (PST) X-Gm-Message-State: AOAM5335HorRcyxy6KP7ubHec6mn4UsETM6/L0aaF9hr4pj4UOYXMi05 zFUFmeH0Sw5Qq/iXGi/xW9sXITnadGsGqBaI7mg= X-Received: by 2002:a05:6a00:a01:b0:4cc:61e5:c548 with SMTP id p1-20020a056a000a0100b004cc61e5c548mr22917058pfh.68.1645499212090; Mon, 21 Feb 2022 19:06:52 -0800 (PST) MIME-Version: 1.0 References: <20220221084614.1682022-1-xujialu@vimux.org> In-Reply-To: <20220221084614.1682022-1-xujialu@vimux.org> From: Masahiro Yamada Date: Tue, 22 Feb 2022 12:06:13 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] scripts/tags.sh: parse *.dts.tmp for compiled sources To: Jialu Xu Cc: Greg Kroah-Hartman , Linux Kernel Mailing List , Andrew Morton , Jonathan Corbet , rkovhaev@gmail.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, T_SCC_BODY_TEXT_LINE 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 On Mon, Feb 21, 2022 at 5:46 PM Jialu Xu wrote: > > There are files listed in *.dts.tmp, parse them as *.cmd for compiled sources. > > Signed-off-by: Jialu Xu > --- Why? > 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 > > -- Best Regards Masahiro Yamada