aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/power/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/drivers/power/Makefile b/drivers/power/Makefile
index 695e54fdbcdb..c75772eb157c 100644
--- a/drivers/power/Makefile
+++ b/drivers/power/Makefile
@@ -1,16 +1,8 @@
1power_supply-objs := power_supply_core.o 1ccflags-$(CONFIG_POWER_SUPPLY_DEBUG) := -DDEBUG
2 2
3ifeq ($(CONFIG_SYSFS),y) 3power_supply-y := power_supply_core.o
4power_supply-objs += power_supply_sysfs.o 4power_supply-$(CONFIG_SYSFS) += power_supply_sysfs.o
5endif 5power_supply-$(CONFIG_LEDS_TRIGGERS) += power_supply_leds.o
6
7ifeq ($(CONFIG_LEDS_TRIGGERS),y)
8power_supply-objs += power_supply_leds.o
9endif
10
11ifeq ($(CONFIG_POWER_SUPPLY_DEBUG),y)
12EXTRA_CFLAGS += -DDEBUG
13endif
14 6
15obj-$(CONFIG_POWER_SUPPLY) += power_supply.o 7obj-$(CONFIG_POWER_SUPPLY) += power_supply.o
16 8