Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp32024pxb; Tue, 23 Feb 2021 17:06:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRKlmnTtHtLUeSNw7m82lLwyPSi4RT/ia3aTfueHdadmVuX2iogjt9d3eTAPiGshSOXJDh X-Received: by 2002:a17:906:c08a:: with SMTP id f10mr28876093ejz.52.1614128815045; Tue, 23 Feb 2021 17:06:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614128815; cv=none; d=google.com; s=arc-20160816; b=nzl/8eDMYSQMYOiyNVHOArK3EkN0vb6dnkdxI/aYd8aA/AUn5aaEpNghzztreL4Bdp teFG+xUHJJnczeJcDjEEZZTr6x6ME+LlTKXL4i9pZfH0v9bmL7reR4p4DRZ+Xxc3AbNx XdVyAybdaWA8tPFrU36OfFA3eU41beqmbgd5I/yphzYZYruQOc785aSTzmPLEzeX+YYe 3yDtKEs359uytIIUVx27qbAbHxM1pQ+DjZPpoMkFFKH6U9jQzyRavFDLlHLo3ahjry6D +l5+6T/uwkytQpvXlPsGCc/vUpu1yzyMz6jHRATqJhTdjPMtO1iapY2vKz7nk+t9X6Cf l/lw== 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; bh=N/yik/iez7Vhg7/1JKjxYAAp3zLKK6slY5s2bzVJPEI=; b=tlqvMzStc4oxiUf8/NF619yTVNiq38WTOUCpREosJ0unO+mAKn6N+/Rnq1q8XOaJXs 5ciXSPhr6bFk7p07ToUT6mjiPguTcV/t73rh0NwJy90XrDMh20M5SnwSVuQ31peRDg/P xoexjyMNTAncKJzfkoMLz2DpJJ0mxvcT4tPaaL9kj+28m3oUBNIzzm/uH49FHjcF+BJk xEfH+MbrI9pfzBNufbFUXkyMfNKnakVAG82+PIYL3XVkFVZqoNnvTOzTcnUUDFhlUv8n cMkNhTMwmESKqiOym5KIbTFEcvoGjTr3MnQVJaNtnij2BtSxTgsHX8A+g0F+fTp55EEa P/1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=aAVF1AJY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j19si280075ejx.190.2021.02.23.17.06.12; Tue, 23 Feb 2021 17:06:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=aAVF1AJY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232453AbhBWX37 (ORCPT + 99 others); Tue, 23 Feb 2021 18:29:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232557AbhBWXUl (ORCPT ); Tue, 23 Feb 2021 18:20:41 -0500 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96DF6C06178B for ; Tue, 23 Feb 2021 15:20:00 -0800 (PST) Received: by mail-lj1-x231.google.com with SMTP id a22so172718ljp.10 for ; Tue, 23 Feb 2021 15:20:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=N/yik/iez7Vhg7/1JKjxYAAp3zLKK6slY5s2bzVJPEI=; b=aAVF1AJYiuYOItxrV9OrRctJHr3Lfcke/igUMBt3widY9DeA5idggiNgKtZd+hN3Xx w22z4QWveBDIr8iyrv+FDF8qoQGwmLlzIzPnyePpmASwHMtOzYtmn8X7SCX3u5VUcosu +oiaXsnSMt6y2jukwyatNKSJAvBosVEgx/0Qo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=N/yik/iez7Vhg7/1JKjxYAAp3zLKK6slY5s2bzVJPEI=; b=o3AYk+Vk49pFmfnuRfJIKbDxnyRF9OzVfFw1A+f+vbyi+JgUxypFu0FeA0Td51S8fZ DjJrtMEIH/UV5ddXFulQTa97ETjiPDRugfyuwAYzaQeByEaJIP1TZxvDGr0p5eWqB7DA BzXNryIQpcxIUqqvrI5TobbYGwIGTN/C3NosmSWtkOAf+s406d0dSKWgfrwFCsVfi1nU c35JogBbBX7MuoA/6VPgie6Ql+p7WfyIDQsv76+R5TSHjf6mK4ADR56ql4L9vhaiTrXl NNMssMohJE2jRQNBRJNNO1ahtGP4IRVWTpIcjvQCe6Q1fJpc0KjFWilFtcYNwPpoHgp2 U8Tw== X-Gm-Message-State: AOAM531SCRAhj15w4q+pAGiSh6QmNZPceg2WHRs3DttzhHktCHA0n2Jg 2OWcpagosreK2bIP+XFVBJElqkmSo/xvhQ== X-Received: by 2002:a05:651c:1196:: with SMTP id w22mr18443923ljo.42.1614122398882; Tue, 23 Feb 2021 15:19:58 -0800 (PST) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com. [209.85.208.179]) by smtp.gmail.com with ESMTPSA id q6sm48673lfb.288.2021.02.23.15.19.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Feb 2021 15:19:57 -0800 (PST) Received: by mail-lj1-f179.google.com with SMTP id o16so166205ljj.11 for ; Tue, 23 Feb 2021 15:19:57 -0800 (PST) X-Received: by 2002:a2e:924e:: with SMTP id v14mr1444944ljg.48.1614122396619; Tue, 23 Feb 2021 15:19:56 -0800 (PST) MIME-Version: 1.0 References: <20210223181425.4010665-1-robh@kernel.org> <20210223181425.4010665-4-robh@kernel.org> In-Reply-To: <20210223181425.4010665-4-robh@kernel.org> From: Linus Torvalds Date: Tue, 23 Feb 2021 15:19:40 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/3] kbuild: Add a build check for missing gitignore entries To: Rob Herring Cc: Masahiro Yamada , Michal Marek , Linux Kbuild mailing list , Andy Lutomirski , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "the arch/x86 maintainers" , "H. Peter Anvin" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 23, 2021 at 10:14 AM Rob Herring wrote: > > Any non-phony targets need to be in gitignore. The normal way to check > this is doing an in-tree build and running git-status which is easy to > miss. Git provides an easy way to check whether a file is ignored with > git-check-ignore. Let's add a build time check using it. This looks ridiculously expensive with a shell and git invocation for every single target just for this check. Considering that I just had to fight my build suddenly getting much slower, I'm a bit sensitive about these things. Linus