blob: 705675ae9f7c996d83d610d5ac4c31e2684140d2 [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
Haojian Zhuang28db3882010-01-25 10:38:35 -050019obj-$(CONFIG_MAX8925_POWER) += max8925_power.o
Mark Brownc26964e2009-10-01 15:41:06 +010020obj-$(CONFIG_WM831X_BACKUP) += wm831x_backup.o
Mark Brown3961f7c2009-08-10 17:43:53 +010021obj-$(CONFIG_WM831X_POWER) += wm831x_power.o
Mark Brown14431aa2008-11-16 20:16:47 +010022obj-$(CONFIG_WM8350_POWER) += wm8350_power.o
Anton Vorontsova1e50fd2010-05-17 23:46:45 +040023obj-$(CONFIG_TEST_POWER) += test_power.o
Anton Vorontsovfe0e3152007-05-04 00:45:39 +040024
25obj-$(CONFIG_BATTERY_DS2760) += ds2760_battery.o
Ryan Mallonbfdb46c2009-06-18 11:26:26 +120026obj-$(CONFIG_BATTERY_DS2782) += ds2782_battery.o
David Woodhouseefea58e2007-05-04 00:47:40 +040027obj-$(CONFIG_BATTERY_PMU) += pmu_battery.o
David Woodhousefb972872007-05-04 00:51:18 +040028obj-$(CONFIG_BATTERY_OLPC) += olpc_battery.o
Dmitry Baryshkovfece4182008-06-24 18:51:07 +040029obj-$(CONFIG_BATTERY_TOSA) += tosa_battery.o
Thomas Kunzef1fce592009-02-10 14:12:29 +010030obj-$(CONFIG_BATTERY_COLLIE) += collie_battery.o
Anton Vorontsoved8c3172008-10-18 20:28:24 +040031obj-$(CONFIG_BATTERY_WM97XX) += wm97xx_battery.o
Rodolfo Giomettib996ad02008-08-20 16:52:58 -070032obj-$(CONFIG_BATTERY_BQ27x00) += bq27x00_battery.o
Mike Rapoport342d7652008-12-30 22:44:53 +010033obj-$(CONFIG_BATTERY_DA9030) += da9030_battery.o
Minkyu Kangc6f4a422009-06-05 15:33:04 +090034obj-$(CONFIG_BATTERY_MAX17040) += max17040_battery.o
Marek Vasute3e8d1c2010-02-28 12:47:49 +010035obj-$(CONFIG_BATTERY_Z2) += z2_battery.o
Vasily Khoruzhick808be4b2010-07-17 13:57:03 +030036obj-$(CONFIG_BATTERY_S3C_ADC) += s3c_adc_battery.o
Minkyu Kangc6f4a422009-06-05 15:33:04 +090037obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o
Nithish Mahalingam67210812010-06-17 18:12:36 +010038obj-$(CONFIG_BATTERY_INTEL_MID) += intel_mid_battery.o