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