Makefile 1.7 KB

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