From: Qu Wenruo <wqu@suse.com>
To: linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org,
llvm@lists.linux.dev
Subject: [PATCH v2] .gitignore: ignore GNUmakefile
Date: Tue, 27 Oct 2026 20:41:06 +1030 [thread overview]
Message-ID: <1b0822425d9c76cbf7dc4e5fe9eedf62ac153b56.1793095807.git.wqu@suse.com> (raw)
I use GNUmakefile to shorten the command of "make".
E.g. for my arm64 worktree, I have a GNUmakefile with:
export ARCH := arm64
export LLVM := 1
export PACMAN_PKGBASE := linux-arm64-custom
export PACMAN_EXTRAPACKAGES :=
export PKGEXT := .pkg.tar
MAKEFLAGS += -j12
include Makefile
And for my x86_64 worktree, it looks a little simpler:
export LLVM := 1
export PACMAN_PKGBASE := linux-custom
export PACMAN_EXTRAPACKAGES :=
export PKGEXT := pkg.tar
MAKEFLAGS += -j12
include Makefile
So at least in my case, GNUmakefile is really a shortcut to specify
extra environment variables and build flags.
Thus it should be added to gitignore.
Signed-off-by: Qu Wenruo <wqu@suse.com>
---
Changelog:
v2:
- Limit the GNUmakefile to the top-level directory
---
.gitignore | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.gitignore b/.gitignore
index 9875120ea7bd..6f018294a119 100644
--- a/.gitignore
+++ b/.gitignore
@@ -194,3 +194,6 @@ sphinx_*/
# bc language scripts (not LLVM bitcode)
!kernel/time/timeconst.bc
+
+# GNUmakefile, mostly to export extra env variables or build flags
+/GNUmakefile
--
2.56.0
next reply other threads:[~2026-10-27 10:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-27 10:11 Qu Wenruo [this message]
2026-10-27 11:48 ` Daniel Vacek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1b0822425d9c76cbf7dc4e5fe9eedf62ac153b56.1793095807.git.wqu@suse.com \
--to=wqu@suse.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®