From: matt mooney Date: Fri, 14 Jan 2011 14:12:38 +0000 (-0800) Subject: hwmon: change to new flag variable X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5c39e31195f49f6725f04b22921eca2388a3f909;p=linux-beck.git hwmon: change to new flag variable Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: matt mooney Acked-by: WANG Cong Acked-by: Guenter Roeck Signed-off-by: Michal Marek --- diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile index dde02d99c238..974f9cc766b2 100644 --- a/drivers/hwmon/Makefile +++ b/drivers/hwmon/Makefile @@ -112,7 +112,5 @@ obj-$(CONFIG_SENSORS_W83L786NG) += w83l786ng.o obj-$(CONFIG_SENSORS_WM831X) += wm831x-hwmon.o obj-$(CONFIG_SENSORS_WM8350) += wm8350-hwmon.o -ifeq ($(CONFIG_HWMON_DEBUG_CHIP),y) -EXTRA_CFLAGS += -DDEBUG -endif +ccflags-$(CONFIG_HWMON_DEBUG_CHIP) := -DDEBUG