Makefile 1.7 KB

123456789101112131415161718192021222324252627282930313233
  1. # SPDX-License-Identifier: GPL-2.0
  2. # Family-Level Interface Shim (FLIS)
  3. obj-$(subst m,y,$(CONFIG_PINCTRL_MERRIFIELD)) += platform_mrfld_pinctrl.o
  4. # SDHCI Devices
  5. obj-$(subst m,y,$(CONFIG_MMC_SDHCI_PCI)) += platform_mrfld_sd.o
  6. # WiFi + BT
  7. obj-$(subst m,y,$(CONFIG_BRCMFMAC_SDIO)) += platform_bcm43xx.o
  8. obj-$(subst m,y,$(CONFIG_BT_HCIUART_BCM)) += platform_bt.o
  9. # IPC Devices
  10. obj-$(subst m,y,$(CONFIG_MFD_INTEL_MSIC)) += platform_msic.o
  11. obj-$(subst m,y,$(CONFIG_SND_MFLD_MACHINE)) += platform_msic_audio.o
  12. obj-$(subst m,y,$(CONFIG_GPIO_MSIC)) += platform_msic_gpio.o
  13. obj-$(subst m,y,$(CONFIG_MFD_INTEL_MSIC)) += platform_msic_ocd.o
  14. obj-$(subst m,y,$(CONFIG_MFD_INTEL_MSIC)) += platform_msic_battery.o
  15. obj-$(subst m,y,$(CONFIG_INTEL_MID_POWER_BUTTON)) += platform_msic_power_btn.o
  16. obj-$(subst m,y,$(CONFIG_INTEL_MFLD_THERMAL)) += platform_msic_thermal.o
  17. # SPI Devices
  18. obj-$(subst m,y,$(CONFIG_SPI_SPIDEV)) += platform_mrfld_spidev.o
  19. # I2C Devices
  20. obj-$(subst m,y,$(CONFIG_SENSORS_EMC1403)) += platform_emc1403.o
  21. obj-$(subst m,y,$(CONFIG_SENSORS_LIS3LV02D)) += platform_lis331.o
  22. obj-$(subst m,y,$(CONFIG_MPU3050_I2C)) += platform_mpu3050.o
  23. obj-$(subst m,y,$(CONFIG_INPUT_BMA150)) += platform_bma023.o
  24. obj-$(subst m,y,$(CONFIG_DRM_MEDFIELD)) += platform_tc35876x.o
  25. # I2C GPIO Expanders
  26. obj-$(subst m,y,$(CONFIG_GPIO_PCA953X)) += platform_max7315.o
  27. obj-$(subst m,y,$(CONFIG_GPIO_PCA953X)) += platform_pcal9555a.o
  28. obj-$(subst m,y,$(CONFIG_GPIO_PCA953X)) += platform_tca6416.o
  29. # MISC Devices
  30. obj-$(subst m,y,$(CONFIG_KEYBOARD_GPIO)) += platform_gpio_keys.o
  31. obj-$(subst m,y,$(CONFIG_INTEL_MID_POWER_BUTTON)) += platform_mrfld_power_btn.o
  32. obj-$(subst m,y,$(CONFIG_RTC_DRV_CMOS)) += platform_mrfld_rtc.o
  33. obj-$(subst m,y,$(CONFIG_INTEL_MID_WATCHDOG)) += platform_mrfld_wdt.o