Skip to content

Commit 133f112

Browse files
Tdent48227rjwysocki
authored andcommitted
PM: Use proper ccflag flag in kernel/power/Makefile
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 <tdent48227@gmail.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
1 parent 6675bc0 commit 133f112

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎kernel/power/Makefile‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
2-
ifeq ($(CONFIG_PM_DEBUG),y)
3-
EXTRA_CFLAGS += -DDEBUG
4-
endif
1+
ccflags-$(CONFIG_PM_DEBUG) := -DDEBUG
52

63
obj-$(CONFIG_PM) += main.o
74
obj-$(CONFIG_PM_SLEEP) += console.o

0 commit comments

Comments
 (0)