Skip to content

Commit

Permalink
PM: Use proper ccflag flag in kernel/power/Makefile
Browse files Browse the repository at this point in the history
Use the ccflags-$ flag instead of EXTRA_CFLAGS because EXTRA_CFLAGS is
deprecated and should now be switched.  According to
(documentation/kbuild/makefiles.txt).

Signed-off-by: Tracey Dent <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
Tdent48227 authored and rjwysocki committed Dec 24, 2010
1 parent 6675bc0 commit 133f112
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kernel/power/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@

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
Expand Down

0 comments on commit 133f112

Please sign in to comment.