kernel: change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: matt mooney <mfm@muteddisk.com> Acked-by: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
parent
521cb40b0c
commit
ed3cd4a865
|
@ -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
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
ccflags-$(CONFIG_PM_DEBUG) := -DDEBUG
|
||||
|
||||
ccflags-$(CONFIG_PM_DEBUG) := -DDEBUG
|
||||
|
||||
obj-$(CONFIG_PM) += main.o
|
||||
obj-$(CONFIG_PM_SLEEP) += console.o
|
||||
|
|
Loading…
Reference in New Issue