Makefile 1.5 KB
Newer Older
M
matt mooney 已提交
1
ccflags-$(CONFIG_POWER_SUPPLY_DEBUG) := -DDEBUG
2

M
matt mooney 已提交
3 4 5
power_supply-y				:= power_supply_core.o
power_supply-$(CONFIG_SYSFS)		+= power_supply_sysfs.o
power_supply-$(CONFIG_LEDS_TRIGGERS)	+= power_supply_leds.o
6 7

obj-$(CONFIG_POWER_SUPPLY)	+= power_supply.o
8 9

obj-$(CONFIG_PDA_POWER)		+= pda_power.o
10
obj-$(CONFIG_APM_POWER)		+= apm_power.o
11
obj-$(CONFIG_MAX8925_POWER)	+= max8925_power.o
12
obj-$(CONFIG_WM831X_BACKUP)	+= wm831x_backup.o
13
obj-$(CONFIG_WM831X_POWER)	+= wm831x_power.o
14
obj-$(CONFIG_WM8350_POWER)	+= wm8350_power.o
15
obj-$(CONFIG_TEST_POWER)	+= test_power.o
16 17

obj-$(CONFIG_BATTERY_DS2760)	+= ds2760_battery.o
18
obj-$(CONFIG_BATTERY_DS2782)	+= ds2782_battery.o
D
David Woodhouse 已提交
19
obj-$(CONFIG_BATTERY_PMU)	+= pmu_battery.o
20
obj-$(CONFIG_BATTERY_OLPC)	+= olpc_battery.o
21
obj-$(CONFIG_BATTERY_TOSA)	+= tosa_battery.o
T
Thomas Kunze 已提交
22
obj-$(CONFIG_BATTERY_COLLIE)	+= collie_battery.o
23
obj-$(CONFIG_BATTERY_WM97XX)	+= wm97xx_battery.o
24
obj-$(CONFIG_BATTERY_BQ20Z75)	+= bq20z75.o
25
obj-$(CONFIG_BATTERY_BQ27x00)	+= bq27x00_battery.o
26
obj-$(CONFIG_BATTERY_DA9030)	+= da9030_battery.o
M
Minkyu Kang 已提交
27
obj-$(CONFIG_BATTERY_MAX17040)	+= max17040_battery.o
28
obj-$(CONFIG_BATTERY_MAX17042)	+= max17042_battery.o
M
Marek Vasut 已提交
29
obj-$(CONFIG_BATTERY_Z2)	+= z2_battery.o
V
Vasily Khoruzhick 已提交
30
obj-$(CONFIG_BATTERY_S3C_ADC)	+= s3c_adc_battery.o
M
Minkyu Kang 已提交
31
obj-$(CONFIG_CHARGER_PCF50633)	+= pcf50633-charger.o
32
obj-$(CONFIG_BATTERY_JZ4740)	+= jz4740-battery.o
33
obj-$(CONFIG_BATTERY_INTEL_MID)	+= intel_mid_battery.o
34
obj-$(CONFIG_CHARGER_ISP1704)	+= isp1704_charger.o
35
obj-$(CONFIG_CHARGER_TWL4030)	+= twl4030_charger.o
36
obj-$(CONFIG_CHARGER_GPIO)	+= gpio-charger.o