xref: /openbmc/linux/drivers/macintosh/Makefile (revision bd5f47ec)
1#
2# Makefile for the Macintosh-specific device drivers.
3#
4
5# Each configuration option enables a list of files.
6
7obj-$(CONFIG_PPC_PMAC)		+= macio_asic.o macio_sysfs.o
8
9obj-$(CONFIG_PMAC_MEDIABAY)	+= mediabay.o
10obj-$(CONFIG_MAC_EMUMOUSEBTN)	+= mac_hid.o
11obj-$(CONFIG_INPUT_ADBHID)	+= adbhid.o
12obj-$(CONFIG_ANSLCD)		+= ans-lcd.o
13
14obj-$(CONFIG_ADB_PMU)		+= via-pmu.o via-pmu-event.o
15obj-$(CONFIG_ADB_PMU_LED)	+= via-pmu-led.o
16obj-$(CONFIG_PMAC_BACKLIGHT)	+= via-pmu-backlight.o
17obj-$(CONFIG_ADB_CUDA)		+= via-cuda.o
18obj-$(CONFIG_PMAC_APM_EMU)	+= apm_emu.o
19obj-$(CONFIG_PMAC_SMU)		+= smu.o
20
21obj-$(CONFIG_ADB)		+= adb.o
22obj-$(CONFIG_ADB_MACII)		+= via-macii.o
23obj-$(CONFIG_ADB_MACIISI)	+= via-maciisi.o
24obj-$(CONFIG_ADB_IOP)		+= adb-iop.o
25obj-$(CONFIG_ADB_PMU68K)	+= via-pmu68k.o
26obj-$(CONFIG_ADB_MACIO)		+= macio-adb.o
27
28obj-$(CONFIG_THERM_PM72)	+= therm_pm72.o
29obj-$(CONFIG_THERM_WINDTUNNEL)	+= therm_windtunnel.o
30obj-$(CONFIG_THERM_ADT746X)	+= therm_adt746x.o
31obj-$(CONFIG_WINDFARM)	        += windfarm_core.o
32obj-$(CONFIG_WINDFARM_PM81)     += windfarm_smu_controls.o \
33				   windfarm_smu_sensors.o \
34				   windfarm_lm75_sensor.o windfarm_pid.o \
35				   windfarm_cpufreq_clamp.o windfarm_pm81.o
36obj-$(CONFIG_WINDFARM_PM91)     += windfarm_smu_controls.o \
37				   windfarm_smu_sensors.o \
38				   windfarm_lm75_sensor.o windfarm_pid.o \
39				   windfarm_cpufreq_clamp.o windfarm_pm91.o
40obj-$(CONFIG_WINDFARM_PM112)	+= windfarm_pm112.o windfarm_smu_sat.o \
41				   windfarm_smu_controls.o \
42				   windfarm_smu_sensors.o \
43				   windfarm_max6690_sensor.o \
44				   windfarm_lm75_sensor.o windfarm_pid.o
45obj-$(CONFIG_WINDFARM_PM121)	+= windfarm_pm121.o windfarm_smu_sat.o \
46				   windfarm_smu_controls.o \
47				   windfarm_smu_sensors.o \
48				   windfarm_max6690_sensor.o \
49				   windfarm_lm75_sensor.o windfarm_pid.o
50obj-$(CONFIG_PMAC_RACKMETER)	+= rack-meter.o
51
52obj-$(CONFIG_SENSORS_AMS)	+= ams/
53