| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
# |
| 3 |
# Makefile for drivers/platform/x86/intel |
| 4 |
# Intel x86 Platform-Specific Drivers |
| 5 |
# |
| 6 |
|
| 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/ |
| 17 |
|
| 18 |
|
| 19 |
# Intel input drivers |
| 20 |
intel-target-$(CONFIG_INTEL_HID_EVENT) += hid.o |
| 21 |
intel-target-$(CONFIG_INTEL_VBTN) += vbtn.o |
| 22 |
|
| 23 |
# Intel miscellaneous drivers |
| 24 |
intel-target-$(CONFIG_INTEL_EHL_PSE_IO) += ehl_pse_io.o |
| 25 |
intel-target-$(CONFIG_INTEL_INT0002_VGPIO) += int0002_vgpio.o |
| 26 |
intel-target-$(CONFIG_INTEL_ISHTP_ECLITE) += ishtp_eclite.o |
| 27 |
intel-target-$(CONFIG_INTEL_OAKTRAIL) += oaktrail.o |
| 28 |
intel-target-$(CONFIG_INTEL_SDSI) += sdsi.o |
| 29 |
intel-target-$(CONFIG_INTEL_VSEC) += vsec.o |
| 30 |
|
| 31 |
# Intel PMIC / PMC / P-Unit drivers |
| 32 |
intel-target-$(CONFIG_INTEL_BYTCRC_PWRSRC) += bytcrc_pwrsrc.o |
| 33 |
intel-target-$(CONFIG_INTEL_BXTWC_PMIC_TMU) += bxtwc_tmu.o |
| 34 |
intel-target-$(CONFIG_INTEL_CHTDC_TI_PWRBTN) += chtdc_ti_pwrbtn.o |
| 35 |
intel-target-$(CONFIG_INTEL_CHTWC_INT33FE) += chtwc_int33fe.o |
| 36 |
intel-target-$(CONFIG_X86_ANDROID_TABLETS) += crystal_cove_charger.o |
| 37 |
intel-target-$(CONFIG_INTEL_MRFLD_PWRBTN) += mrfld_pwrbtn.o |
| 38 |
intel-target-$(CONFIG_INTEL_PUNIT_IPC) += punit_ipc.o |
| 39 |
|
| 40 |
# TPMI drivers |
| 41 |
intel-target-$(CONFIG_INTEL_PLR_TPMI) += plr_tpmi.o |
| 42 |
intel-target-$(CONFIG_INTEL_TPMI_POWER_DOMAINS) += tpmi_power_domains.o |
| 43 |
intel-target-$(CONFIG_INTEL_TPMI) += vsec_tpmi.o |
| 44 |
|
| 45 |
# Intel Uncore drivers |
| 46 |
intel-target-$(CONFIG_INTEL_RST) += rst.o |
| 47 |
intel-target-$(CONFIG_INTEL_SMARTCONNECT) += smartconnect.o |
| 48 |
intel-target-$(CONFIG_INTEL_TURBO_MAX_3) += turbo_max_3.o |
| 49 |
|
| 50 |
# Add 'intel' prefix to each module listed in intel-target-* |
| 51 |
define INTEL_OBJ_TARGET |
| 52 |
intel-$(1)-y := $(1).o |
| 53 |
obj-$(2) += intel-$(1).o |
| 54 |
endef |
| 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))) |