mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] bootconfig: Update for v6.15
@ 2025-06-02 15:46 Masami Hiramatsu
  2025-06-03  0:45 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Masami Hiramatsu @ 2025-06-02 15:46 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Brian Masney, Steven Rostedt, Masami Hiramatsu, linux-kernel

Hi Linus,

Bootconfig updates for v6.15:

 - Allow overriding CFLAGS for tools/bootconfig
 - Allow overriding LDFLAGS for tools/bootconfig
   Both allow overriding build flags for tools/bootconfig, for
   example making it a static binary.


Please pull the latest bootconfig-v6.16 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
bootconfig-v6.16

Tag SHA1: 0e48955b14e75b5f0c386b2ef4bab92274c522a1
Head SHA1: d81bab116b485643a08f2147165cc257b3734188


Brian Masney (2):
      tools/bootconfig: allow overriding CFLAGS assignment
      tools/bootconfig: specify LDFLAGS as an argument to CC

----
 tools/bootconfig/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---------------------------
diff --git a/tools/bootconfig/Makefile b/tools/bootconfig/Makefile
index 566c3e0ee561..90eb47c9d8de 100644
--- a/tools/bootconfig/Makefile
+++ b/tools/bootconfig/Makefile
@@ -10,7 +10,7 @@ srctree := $(patsubst %/,%,$(dir $(srctree)))
 endif
 
 LIBSRC = $(srctree)/lib/bootconfig.c $(srctree)/include/linux/bootconfig.h
-CFLAGS = -Wall -g -I$(CURDIR)/include
+override CFLAGS += -Wall -g -I$(CURDIR)/include
 
 ALL_TARGETS := bootconfig
 ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS))
@@ -18,7 +18,7 @@ ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS))
 all: $(ALL_PROGRAMS) test
 
 $(OUTPUT)bootconfig: main.c include/linux/bootconfig.h $(LIBSRC)
-	$(CC) $(filter %.c,$^) $(CFLAGS) -o $@
+	$(CC) $(filter %.c,$^) $(CFLAGS) $(LDFLAGS) -o $@
 
 test: $(ALL_PROGRAMS) test-bootconfig.sh
 	./test-bootconfig.sh $(OUTPUT)

-- 
Masami Hiramatsu (Google) <mhiramat@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] bootconfig: Update for v6.15
  2025-06-02 15:46 [GIT PULL] bootconfig: Update for v6.15 Masami Hiramatsu
@ 2025-06-03  0:45 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2025-06-03  0:45 UTC (permalink / raw)
  To: Masami Hiramatsu (Google)
  Cc: Linus Torvalds, Brian Masney, Steven Rostedt, Masami Hiramatsu,
	linux-kernel

The pull request you sent on Tue, 3 Jun 2025 00:46:07 +0900:

> git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git bootconfig-v6.16

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/546b1c9e93c2bb8cf5ed24e0be1c86bb089b3253

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-03  0:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-02 15:46 [GIT PULL] bootconfig: Update for v6.15 Masami Hiramatsu
2025-06-03  0:45 ` pr-tracker-bot

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®