xref: /openbmc/linux/drivers/platform/x86/Makefile (revision ba61bb17)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for linux/drivers/platform/x86
4# x86 Platform-Specific Drivers
5#
6obj-$(CONFIG_ASUS_LAPTOP)	+= asus-laptop.o
7obj-$(CONFIG_ASUS_WMI)		+= asus-wmi.o
8obj-$(CONFIG_ASUS_NB_WMI)	+= asus-nb-wmi.o
9obj-$(CONFIG_ASUS_WIRELESS)	+= asus-wireless.o
10obj-$(CONFIG_EEEPC_LAPTOP)	+= eeepc-laptop.o
11obj-$(CONFIG_EEEPC_WMI)		+= eeepc-wmi.o
12obj-$(CONFIG_MSI_LAPTOP)	+= msi-laptop.o
13obj-$(CONFIG_ACPI_CMPC)		+= classmate-laptop.o
14obj-$(CONFIG_COMPAL_LAPTOP)	+= compal-laptop.o
15obj-$(CONFIG_DELL_SMBIOS)	+= dell-smbios.o
16dell-smbios-objs		:= dell-smbios-base.o
17dell-smbios-$(CONFIG_DELL_SMBIOS_WMI)	+= dell-smbios-wmi.o
18dell-smbios-$(CONFIG_DELL_SMBIOS_SMM)	+= dell-smbios-smm.o
19obj-$(CONFIG_DELL_LAPTOP)	+= dell-laptop.o
20obj-$(CONFIG_DELL_WMI)		+= dell-wmi.o
21obj-$(CONFIG_DELL_WMI_DESCRIPTOR)	+= dell-wmi-descriptor.o
22obj-$(CONFIG_DELL_WMI_AIO)	+= dell-wmi-aio.o
23obj-$(CONFIG_DELL_WMI_LED)	+= dell-wmi-led.o
24obj-$(CONFIG_DELL_SMO8800)	+= dell-smo8800.o
25obj-$(CONFIG_DELL_RBTN)		+= dell-rbtn.o
26obj-$(CONFIG_ACER_WMI)		+= acer-wmi.o
27obj-$(CONFIG_ACER_WIRELESS)	+= acer-wireless.o
28obj-$(CONFIG_ACERHDF)		+= acerhdf.o
29obj-$(CONFIG_HP_ACCEL)		+= hp_accel.o
30obj-$(CONFIG_HP_WIRELESS)	+= hp-wireless.o
31obj-$(CONFIG_HP_WMI)		+= hp-wmi.o
32obj-$(CONFIG_AMILO_RFKILL)	+= amilo-rfkill.o
33obj-$(CONFIG_GPD_POCKET_FAN)	+= gpd-pocket-fan.o
34obj-$(CONFIG_TC1100_WMI)	+= tc1100-wmi.o
35obj-$(CONFIG_SONY_LAPTOP)	+= sony-laptop.o
36obj-$(CONFIG_IDEAPAD_LAPTOP)	+= ideapad-laptop.o
37obj-$(CONFIG_THINKPAD_ACPI)	+= thinkpad_acpi.o
38obj-$(CONFIG_SENSORS_HDAPS)	+= hdaps.o
39obj-$(CONFIG_FUJITSU_LAPTOP)	+= fujitsu-laptop.o
40obj-$(CONFIG_FUJITSU_TABLET)	+= fujitsu-tablet.o
41obj-$(CONFIG_PANASONIC_LAPTOP)	+= panasonic-laptop.o
42obj-$(CONFIG_INTEL_MENLOW)	+= intel_menlow.o
43obj-$(CONFIG_ACPI_WMI)		+= wmi.o
44obj-$(CONFIG_MSI_WMI)		+= msi-wmi.o
45obj-$(CONFIG_PEAQ_WMI)		+= peaq-wmi.o
46obj-$(CONFIG_SURFACE3_WMI)	+= surface3-wmi.o
47obj-$(CONFIG_TOPSTAR_LAPTOP)	+= topstar-laptop.o
48obj-$(CONFIG_WMI_BMOF)		+= wmi-bmof.o
49obj-$(CONFIG_INTEL_WMI_THUNDERBOLT)	+= intel-wmi-thunderbolt.o
50
51# toshiba_acpi must link after wmi to ensure that wmi devices are found
52# before toshiba_acpi initializes
53obj-$(CONFIG_ACPI_TOSHIBA)	+= toshiba_acpi.o
54
55obj-$(CONFIG_TOSHIBA_BT_RFKILL)	+= toshiba_bluetooth.o
56obj-$(CONFIG_TOSHIBA_HAPS)	+= toshiba_haps.o
57obj-$(CONFIG_TOSHIBA_WMI)	+= toshiba-wmi.o
58obj-$(CONFIG_INTEL_CHT_INT33FE)	+= intel_cht_int33fe.o
59obj-$(CONFIG_INTEL_INT0002_VGPIO) += intel_int0002_vgpio.o
60obj-$(CONFIG_INTEL_HID_EVENT)	+= intel-hid.o
61obj-$(CONFIG_INTEL_VBTN)	+= intel-vbtn.o
62obj-$(CONFIG_INTEL_SCU_IPC)	+= intel_scu_ipc.o
63obj-$(CONFIG_INTEL_SCU_IPC_UTIL) += intel_scu_ipcutil.o
64obj-$(CONFIG_INTEL_MFLD_THERMAL) += intel_mid_thermal.o
65obj-$(CONFIG_INTEL_IPS)		+= intel_ips.o
66obj-$(CONFIG_XO1_RFKILL)	+= xo1-rfkill.o
67obj-$(CONFIG_XO15_EBOOK)	+= xo15-ebook.o
68obj-$(CONFIG_IBM_RTL)		+= ibm_rtl.o
69obj-$(CONFIG_SAMSUNG_LAPTOP)	+= samsung-laptop.o
70obj-$(CONFIG_MXM_WMI)		+= mxm-wmi.o
71obj-$(CONFIG_INTEL_MID_POWER_BUTTON)	+= intel_mid_powerbtn.o
72obj-$(CONFIG_INTEL_OAKTRAIL)	+= intel_oaktrail.o
73obj-$(CONFIG_SAMSUNG_Q10)	+= samsung-q10.o
74obj-$(CONFIG_APPLE_GMUX)	+= apple-gmux.o
75obj-$(CONFIG_INTEL_RST)		+= intel-rst.o
76obj-$(CONFIG_INTEL_SMARTCONNECT)	+= intel-smartconnect.o
77
78obj-$(CONFIG_PVPANIC)           += pvpanic.o
79obj-$(CONFIG_ALIENWARE_WMI)	+= alienware-wmi.o
80obj-$(CONFIG_INTEL_PMC_IPC)	+= intel_pmc_ipc.o
81obj-$(CONFIG_SILEAD_DMI)	+= silead_dmi.o
82obj-$(CONFIG_SURFACE_PRO3_BUTTON)	+= surfacepro3_button.o
83obj-$(CONFIG_SURFACE_3_BUTTON)	+= surface3_button.o
84obj-$(CONFIG_INTEL_PUNIT_IPC)  += intel_punit_ipc.o
85obj-$(CONFIG_INTEL_BXTWC_PMIC_TMU)	+= intel_bxtwc_tmu.o
86obj-$(CONFIG_INTEL_TELEMETRY)	+= intel_telemetry_core.o \
87				   intel_telemetry_pltdrv.o \
88				   intel_telemetry_debugfs.o
89obj-$(CONFIG_INTEL_PMC_CORE)    += intel_pmc_core.o
90obj-$(CONFIG_PMC_ATOM)		+= pmc_atom.o
91obj-$(CONFIG_MLX_PLATFORM)	+= mlx-platform.o
92obj-$(CONFIG_INTEL_TURBO_MAX_3) += intel_turbo_max_3.o
93obj-$(CONFIG_INTEL_CHTDC_TI_PWRBTN)	+= intel_chtdc_ti_pwrbtn.o
94