kernel/power/: Changed Makefile to use proper ccflag flag
Subsystems (2)
PATCH 1/1 kernel/power/: Changed Makefile to use proper ccflag flag
Use the ccflags-$ flag instead of EXTRA_CFLAGS because EXTRA_CFLAGS is deprecated and should now be switched. According to (documentation/kbuild/makefiles.txt).
--- kernel/power/Makefile | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
kernel/power/Makefile +1 -4
@@ -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
Signature · 1 line
1.7.3.2.164.g6f10c
Quoted 4 lines · Tracey Dent
Use the ccflags-$ flag instead of
EXTRA_CFLAGSbecauseEXTRA_CFLAGSis deprecated and should now be switched. According to (documentation/kbuild/makefiles.txt).Signed-off-by Tracey Dent <[email protected]>
ACK.
Quoted 17 lines
--- kernel/power/Makefile | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)kernel/power/Makefile +1
-4@@ -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
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 4 lines · Tracey Dent
Use the ccflags-$ flag instead of
EXTRA_CFLAGSbecauseEXTRA_CFLAGSis deprecated and should now be switched. According to (documentation/kbuild/makefiles.txt).Signed-off-by Tracey Dent <[email protected]>
ACK.
Quoted 17 lines
--- kernel/power/Makefile | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)kernel/power/Makefile +1
-4@@ -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
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Rafael J. Wysocki
AppliedQuoted 2 lines · Tracey Dent
Use the ccflags-$ flag instead of
EXTRA_CFLAGSbecauseEXTRA_CFLAGSis deprecated and should now be switched. According to (documentation/kbuild/makefiles.txt).
Applied to suspend-2.6/linux-next.
Thanks,
Rafael
Quoted 19 lines
Signed-off-by Tracey Dent <[email protected]>--- kernel/power/Makefile | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)kernel/power/Makefile +1
-4@@ -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
Rafael J. Wysocki
AppliedQuoted 2 lines · Tracey Dent
Use the ccflags-$ flag instead of
EXTRA_CFLAGSbecauseEXTRA_CFLAGSis deprecated and should now be switched. According to (documentation/kbuild/makefiles.txt).
Applied to suspend-2.6/linux-next.
Thanks,
Rafael
Quoted 19 lines
Signed-off-by Tracey Dent <[email protected]>--- kernel/power/Makefile | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)kernel/power/Makefile +1
-4@@ -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