Skip to content

Commit 9c8cede

Browse files
masneybmhiramat
authored andcommitted
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/[email protected]/ Signed-off-by: Brian Masney <[email protected]> Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
1 parent 82f2b0b commit 9c8cede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/bootconfig/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ srctree := $(patsubst %/,%,$(dir $(srctree)))
1010
endif
1111

1212
LIBSRC = $(srctree)/lib/bootconfig.c $(srctree)/include/linux/bootconfig.h
13-
CFLAGS = -Wall -g -I$(CURDIR)/include
13+
override CFLAGS += -Wall -g -I$(CURDIR)/include
1414

1515
ALL_TARGETS := bootconfig
1616
ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS))

0 commit comments

Comments
 (0)