kernel: change to new flag variable
Subsystems (5)
PATCH 1/20 kernel: change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y.
Signed-off-by matt mooney <[email protected]>
--- kernel/gcov/Makefile | 2 +- kernel/power/Makefile | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-)
kernel/gcov/Makefile +1 -1
@@ -1,3 +1,3 @@ -EXTRA_CFLAGS := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"' +ccflags-y := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"' obj-$(CONFIG_GCOV_KERNEL) := base.o fs.o gcc_3_4.o
kernel/power/Makefile +1 -3
@@ -1,7 +1,5 @@ -ifeq ($(CONFIG_PM_DEBUG),y) -EXTRA_CFLAGS += -DDEBUG -endif +ccflags-$(CONFIG_PM_DEBUG) := -DDEBUG obj-$(CONFIG_PM) += main.o obj-$(CONFIG_PM_SLEEP) += console.o
Signature · 1 line
1.7.2.1
Quoted 3 lines · matt mooney
Replace
EXTRA_CFLAGSwith ccflags-y.Signed-off-by matt mooney <[email protected]>
ACK to the whole patch set.
Please Cc linux-kbuild when you send patches for makefiles.
Thanks!
Quoted 3 lines · matt mooney
Replace
EXTRA_CFLAGSwith ccflags-y.Signed-off-by matt mooney <[email protected]>
ACK to the whole patch set.
Please Cc linux-kbuild when you send patches for makefiles.
Thanks!