projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PM: Use proper ccflag flag in kernel/power/Makefile
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
power
/
Makefile
diff --git
a/kernel/power/Makefile
b/kernel/power/Makefile
index f9063c6b185d2917124f06350753ad96e0b184d1..b75597235d85fd3323c318f5c58bb8c04554f1fb 100644
(file)
--- a/
kernel/power/Makefile
+++ b/
kernel/power/Makefile
@@
-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