Skip to content

Commit

Permalink
kernel: change to new flag variable
Browse files Browse the repository at this point in the history
Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney <[email protected]>
Acked-by: WANG Cong <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
mfmooney authored and michal42 committed Mar 17, 2011
1 parent 521cb40 commit ed3cd4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kernel/gcov/Makefile
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion kernel/power/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ed3cd4a

Please sign in to comment.