xref: /openbmc/u-boot/board/freescale/common/Makefile (revision f6050790)
1#
2# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8MINIMAL=
9
10ifdef CONFIG_SPL_BUILD
11ifdef CONFIG_SPL_INIT_MINIMAL
12MINIMAL=y
13endif
14endif
15
16ifdef MINIMAL
17# necessary to create built-in.o
18obj- := __dummy__.o
19else
20obj-$(CONFIG_FSL_CADMUS)	+= cadmus.o
21obj-$(CONFIG_FSL_VIA)		+= cds_via.o
22obj-$(CONFIG_FMAN_ENET)	+= fman.o
23obj-$(CONFIG_FSL_PIXIS)	+= pixis.o
24ifndef CONFIG_SPL_BUILD
25obj-$(CONFIG_FSL_NGPIXIS)	+= ngpixis.o
26obj-$(CONFIG_VID)		+= vid.o
27endif
28obj-$(CONFIG_FSL_QIXIS)	+= qixis.o
29obj-$(CONFIG_PQ_MDS_PIB)	+= pq-mds-pib.o
30ifndef CONFIG_SPL_BUILD
31obj-$(CONFIG_ID_EEPROM)	+= sys_eeprom.o
32endif
33obj-$(CONFIG_FSL_SGMII_RISER)	+= sgmii_riser.o
34ifndef CONFIG_RAMBOOT_PBL
35obj-$(CONFIG_FSL_FIXED_MMC_LOCATION)	+= sdhc_boot.o
36endif
37
38obj-$(CONFIG_FSL_DIU_CH7301)	+= diu_ch7301.o
39
40obj-$(CONFIG_FSL_DCU_SII9022A)    += dcu_sii9022a.o
41
42obj-$(CONFIG_MPC8541CDS)	+= cds_pci_ft.o
43obj-$(CONFIG_MPC8548CDS)	+= cds_pci_ft.o
44obj-$(CONFIG_MPC8555CDS)	+= cds_pci_ft.o
45
46obj-$(CONFIG_MPC8536DS)	+= ics307_clk.o
47obj-$(CONFIG_MPC8572DS)	+= ics307_clk.o
48obj-$(CONFIG_P1022DS)		+= ics307_clk.o
49obj-$(CONFIG_P2020DS)		+= ics307_clk.o
50obj-$(CONFIG_P3041DS)		+= ics307_clk.o
51obj-$(CONFIG_P4080DS)		+= ics307_clk.o
52obj-$(CONFIG_P5020DS)		+= ics307_clk.o
53obj-$(CONFIG_P5040DS)		+= ics307_clk.o
54obj-$(CONFIG_VSC_CROSSBAR)    += vsc3316_3308.o
55obj-$(CONFIG_IDT8T49N222A)	+= idt8t49n222a_serdes_clk.o
56obj-$(CONFIG_ZM7300)		+= zm7300.o
57obj-$(CONFIG_POWER_PFUZE100)	+= pfuze.o
58
59# deal with common files for P-series corenet based devices
60obj-$(CONFIG_P2041RDB)	+= p_corenet/
61obj-$(CONFIG_P3041DS)	+= p_corenet/
62obj-$(CONFIG_P4080DS)	+= p_corenet/
63obj-$(CONFIG_P5020DS)	+= p_corenet/
64obj-$(CONFIG_P5040DS)	+= p_corenet/
65endif
66