Makefile 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. #
  2. # SPDX-License-Identifier: GPL-2.0+
  3. #
  4. obj-$(CONFIG_$(SPL_)DM) += core/
  5. obj-$(CONFIG_$(SPL_)CLK) += clk/
  6. obj-$(CONFIG_$(SPL_)LED) += led/
  7. obj-$(CONFIG_$(SPL_)PINCTRL) += pinctrl/
  8. obj-$(CONFIG_$(SPL_)RAM) += ram/
  9. ifdef CONFIG_SPL_BUILD
  10. obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/
  11. obj-$(CONFIG_SPL_I2C_SUPPORT) += i2c/
  12. obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/
  13. obj-$(CONFIG_SPL_MMC_SUPPORT) += mmc/
  14. obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
  15. obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/
  16. obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/
  17. obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/
  18. obj-$(CONFIG_SPL_SERIAL_SUPPORT) += serial/
  19. obj-$(CONFIG_SPL_SPI_SUPPORT) += spi/
  20. obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/
  21. obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/
  22. obj-$(CONFIG_SPL_DRIVERS_MISC_SUPPORT) += misc/
  23. obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/
  24. obj-$(CONFIG_SPL_NAND_SUPPORT) += mtd/nand/
  25. obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/
  26. obj-$(CONFIG_SPL_SPI_FLASH_SUPPORT) += mtd/spi/
  27. obj-$(CONFIG_SPL_UBI) += mtd/ubispl/
  28. obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/
  29. obj-$(CONFIG_SPL_ETH_SUPPORT) += net/
  30. obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
  31. obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/
  32. obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
  33. obj-$(CONFIG_SPL_USBETH_SUPPORT) += usb/gadget/
  34. obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/
  35. obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/
  36. obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
  37. obj-$(CONFIG_SPL_SATA_SUPPORT) += block/
  38. obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += block/
  39. obj-$(CONFIG_SPL_MMC_SUPPORT) += block/
  40. else
  41. obj-y += adc/
  42. obj-$(CONFIG_DM_DEMO) += demo/
  43. obj-$(CONFIG_BIOSEMU) += bios_emulator/
  44. obj-y += block/
  45. obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
  46. obj-$(CONFIG_CPU) += cpu/
  47. obj-y += crypto/
  48. obj-$(CONFIG_FPGA) += fpga/
  49. obj-y += hwmon/
  50. obj-y += misc/
  51. obj-y += pcmcia/
  52. obj-y += dfu/
  53. obj-$(CONFIG_X86) += pch/
  54. obj-y += rtc/
  55. obj-y += sound/
  56. obj-y += spmi/
  57. obj-y += timer/
  58. obj-y += tpm/
  59. obj-y += twserial/
  60. obj-y += video/
  61. obj-y += watchdog/
  62. obj-$(CONFIG_QE) += qe/
  63. obj-$(CONFIG_U_QE) += qe/
  64. obj-y += mailbox/
  65. obj-y += memory/
  66. obj-y += pwm/
  67. obj-y += reset/
  68. obj-y += input/
  69. # SOC specific infrastructure drivers.
  70. obj-y += soc/
  71. obj-$(CONFIG_REMOTEPROC) += remoteproc/
  72. obj-y += thermal/
  73. obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
  74. endif