16 lines
311 B
Makefile
16 lines
311 B
Makefile
|
power_supply-objs := power_supply_core.o
|
||
|
|
||
|
ifeq ($(CONFIG_SYSFS),y)
|
||
|
power_supply-objs += power_supply_sysfs.o
|
||
|
endif
|
||
|
|
||
|
ifeq ($(CONFIG_LEDS_TRIGGERS),y)
|
||
|
power_supply-objs += power_supply_leds.o
|
||
|
endif
|
||
|
|
||
|
ifeq ($(CONFIG_POWER_SUPPLY_DEBUG),y)
|
||
|
EXTRA_CFLAGS += -DDEBUG
|
||
|
endif
|
||
|
|
||
|
obj-$(CONFIG_POWER_SUPPLY) += power_supply.o
|