diff options
author | matt mooney <mfm@muteddisk.com> | 2011-01-14 06:12:24 -0800 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-03-17 14:02:54 +0100 |
commit | ed3cd4a86562eee79de25b567a00e648cc3dc2bf (patch) | |
tree | 5450aa802661d5b6c000f071b6e42c0e5fd09aaa /kernel | |
parent | 521cb40b0c44418a4fd36dc633f575813d59a43d (diff) |
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/gcov/Makefile | 2 | ||||
-rw-r--r-- | kernel/power/Makefile | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/kernel/gcov/Makefile b/kernel/gcov/Makefile index 3f761001d51..e97ca59e252 100644 --- a/kernel/gcov/Makefile +++ b/kernel/gcov/Makefile @@ -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 diff --git a/kernel/power/Makefile b/kernel/power/Makefile index c350e18b53e..c5ebc6a9064 100644 --- a/kernel/power/Makefile +++ b/kernel/power/Makefile @@ -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 |