blob: 6413ded5fe5f26d3912af3ff75b324950e2ce12c [file] [log] [blame]
Anton Vorontsov4a11b592007-05-04 00:27:45 +04001power_supply-objs := power_supply_core.o
2
3ifeq ($(CONFIG_SYSFS),y)
4power_supply-objs += power_supply_sysfs.o
5endif
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
15obj-$(CONFIG_POWER_SUPPLY) += power_supply.o
Anton Vorontsovb2998042007-05-04 00:32:17 +040016
17obj-$(CONFIG_PDA_POWER) += pda_power.o
Anton Vorontsov3788ec92007-05-04 00:43:24 +040018obj-$(CONFIG_APM_POWER) += apm_power.o
Anton Vorontsovfe0e3152007-05-04 00:45:39 +040019
20obj-$(CONFIG_BATTERY_DS2760) += ds2760_battery.o
David Woodhouseefea58e2007-05-04 00:47:40 +040021obj-$(CONFIG_BATTERY_PMU) += pmu_battery.o
David Woodhousefb972872007-05-04 00:51:18 +040022obj-$(CONFIG_BATTERY_OLPC) += olpc_battery.o