Makefile 1.98 KB
Newer Older
1 2 3 4
#
# SPDX-License-Identifier:	GPL-2.0+
#

5
obj-$(CONFIG_$(SPL_)DM)		+= core/
6
obj-$(CONFIG_$(SPL_)CLK)	+= clk/
7
obj-$(CONFIG_$(SPL_)LED)	+= led/
8
obj-$(CONFIG_$(SPL_)PINCTRL)	+= pinctrl/
9
obj-$(CONFIG_$(SPL_)RAM)	+= ram/
10

11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
ifdef CONFIG_SPL_BUILD

obj-$(CONFIG_SPL_I2C_SUPPORT) += i2c/
obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/
obj-$(CONFIG_SPL_MMC_SUPPORT) += mmc/
obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
obj-$(CONFIG_SYS_MVEBU_DDR_A38X) += ddr/marvell/a38x/
obj-$(CONFIG_SYS_MVEBU_DDR_AXP) += ddr/marvell/axp/
obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/
obj-$(CONFIG_SPL_SERIAL_SUPPORT) += serial/
obj-$(CONFIG_SPL_SPI_FLASH_SUPPORT) += mtd/spi/
obj-$(CONFIG_SPL_SPI_SUPPORT) += spi/
obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/
obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/
obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/
obj-$(CONFIG_SPL_NAND_SUPPORT) += mtd/nand/
obj-$(CONFIG_SPL_DRIVERS_MISC_SUPPORT) += misc/
obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/
obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/
obj-$(CONFIG_SPL_ETH_SUPPORT) += net/
obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/
obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
obj-$(CONFIG_SPL_USBETH_SUPPORT) += usb/gadget/
obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/
obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/
obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
obj-$(CONFIG_SPL_SATA_SUPPORT) += block/

else

42
obj-y += adc/
43
obj-$(CONFIG_DM_DEMO) += demo/
44
obj-$(CONFIG_BIOSEMU) += bios_emulator/
45 46
obj-y += block/
obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
Simon Glass's avatar
Simon Glass committed
47
obj-$(CONFIG_CPU) += cpu/
48
obj-y += crypto/
49
obj-$(CONFIG_FPGA) += fpga/
50 51 52 53 54 55
obj-y += hwmon/
obj-y += misc/
obj-y += pcmcia/
obj-y += dfu/
obj-y += rtc/
obj-y += sound/
56
obj-y += timer/
57 58 59 60
obj-y += tpm/
obj-y += twserial/
obj-y += video/
obj-y += watchdog/
61
obj-$(CONFIG_QE) += qe/
62
obj-$(CONFIG_U_QE) += qe/
63
obj-y += memory/
64
obj-y += pwm/
65
obj-y += input/
66 67
# SOC specific infrastructure drivers.
obj-y += soc/
68
obj-$(CONFIG_REMOTEPROC) += remoteproc/
69
obj-y += thermal/
70 71

endif