Skip to content

Commit

Permalink
hwmon: change to new flag variable
Browse files Browse the repository at this point in the history
Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney <[email protected]>
Acked-by: WANG Cong <[email protected]>
Acked-by: Guenter Roeck <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
mfmooney authored and michal42 committed Mar 17, 2011
1 parent 990710c commit 5c39e31
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/hwmon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5c39e31

Please sign in to comment.