diff options
author | matt mooney <mfm@muteddisk.com> | 2011-01-14 06:12:38 -0800 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-03-17 14:05:33 +0100 |
commit | 5c39e31195f49f6725f04b22921eca2388a3f909 (patch) | |
tree | 5d655d5a7c58f7e0d6db08dfb6fc8fa531360951 | |
parent | 990710ca5ddf28aef9c34594b3ffe71544e5faa4 (diff) |
hwmon: change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y.
Signed-off-by: matt mooney <mfm@muteddisk.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r-- | drivers/hwmon/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
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 |