mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 07:44:49 +01:00
tools/bootconfig: allow overriding CFLAGS assignment
Allow overriding the CFLAGS assignment so that the user can pass in an outside value. Link: https://lore.kernel.org/all/20250328183858.1417835-2-bmasney@redhat.com/ Signed-off-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
This commit is contained in:
parent
82f2b0b97b
commit
9c8cedef3d
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue