[PATCH 17/24] power: change to new flag variable

From: matt mooney
Date: Fri Sep 24 2010 - 15:24:16 EST


Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney <mfm@xxxxxxxxxxxxx>
---
drivers/power/Makefile | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/power/Makefile b/drivers/power/Makefile
index 10143aa..a0cffe0 100644
--- a/drivers/power/Makefile
+++ b/drivers/power/Makefile
@@ -8,9 +8,7 @@ ifeq ($(CONFIG_LEDS_TRIGGERS),y)
power_supply-objs += power_supply_leds.o
endif

-ifeq ($(CONFIG_POWER_SUPPLY_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_POWER_SUPPLY_DEBUG) := -DDEBUG

obj-$(CONFIG_POWER_SUPPLY) += power_supply.o

--
1.7.2.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/