Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for drivers/platform/x86/intel
4# Intel x86 Platform-Specific Drivers
5#
6
7obj-$(CONFIG_INTEL_ATOMISP2_PDX86) += atomisp2/
8obj-$(CONFIG_INTEL_IFS) += ifs/
9obj-$(CONFIG_INTEL_SAR_INT1092) += int1092/
10obj-$(CONFIG_INTEL_SKL_INT3472) += int3472/
11obj-$(CONFIG_INTEL_PMC_CORE) += pmc/
12obj-$(CONFIG_INTEL_PMT_CLASS) += pmt/
13obj-$(CONFIG_INTEL_SPEED_SELECT_INTERFACE) += speed_select_if/
14obj-$(CONFIG_INTEL_TELEMETRY) += telemetry/
15obj-$(CONFIG_INTEL_WMI) += wmi/
16obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += uncore-frequency/
17
18
19# Intel input drivers
20intel-target-$(CONFIG_INTEL_HID_EVENT) += hid.o
21intel-target-$(CONFIG_INTEL_VBTN) += vbtn.o
22
23# Intel miscellaneous drivers
24intel-target-$(CONFIG_INTEL_EHL_PSE_IO) += ehl_pse_io.o
25intel-target-$(CONFIG_INTEL_INT0002_VGPIO) += int0002_vgpio.o
26intel-target-$(CONFIG_INTEL_ISHTP_ECLITE) += ishtp_eclite.o
27intel-target-$(CONFIG_INTEL_OAKTRAIL) += oaktrail.o
28intel-target-$(CONFIG_INTEL_SDSI) += sdsi.o
29intel-target-$(CONFIG_INTEL_VSEC) += vsec.o
30
31# Intel PMIC / PMC / P-Unit drivers
32intel-target-$(CONFIG_INTEL_BYTCRC_PWRSRC) += bytcrc_pwrsrc.o
33intel-target-$(CONFIG_INTEL_BXTWC_PMIC_TMU) += bxtwc_tmu.o
34intel-target-$(CONFIG_INTEL_CHTDC_TI_PWRBTN) += chtdc_ti_pwrbtn.o
35intel-target-$(CONFIG_INTEL_CHTWC_INT33FE) += chtwc_int33fe.o
36intel-target-$(CONFIG_X86_ANDROID_TABLETS) += crystal_cove_charger.o
37intel-target-$(CONFIG_INTEL_MRFLD_PWRBTN) += mrfld_pwrbtn.o
38intel-target-$(CONFIG_INTEL_PUNIT_IPC) += punit_ipc.o
39
40# TPMI drivers
41intel-target-$(CONFIG_INTEL_PLR_TPMI) += plr_tpmi.o
42intel-target-$(CONFIG_INTEL_TPMI_POWER_DOMAINS) += tpmi_power_domains.o
43intel-target-$(CONFIG_INTEL_TPMI) += vsec_tpmi.o
44
45# Intel Uncore drivers
46intel-target-$(CONFIG_INTEL_RST) += rst.o
47intel-target-$(CONFIG_INTEL_SMARTCONNECT) += smartconnect.o
48intel-target-$(CONFIG_INTEL_TURBO_MAX_3) += turbo_max_3.o
49
50# Add 'intel' prefix to each module listed in intel-target-*
51define INTEL_OBJ_TARGET
52intel-$(1)-y := $(1).o
53obj-$(2) += intel-$(1).o
54endef
55
56$(foreach target, $(basename $(intel-target-y)), $(eval $(call INTEL_OBJ_TARGET,$(target),y)))
57$(foreach target, $(basename $(intel-target-m)), $(eval $(call INTEL_OBJ_TARGET,$(target),m)))