xref: /openbmc/u-boot/board/freescale/common/Makefile (revision 0c331ebc)
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
26endif
27obj-$(CONFIG_FSL_QIXIS)	+= qixis.o
28obj-$(CONFIG_PQ_MDS_PIB)	+= pq-mds-pib.o
29ifndef CONFIG_SPL_BUILD
30obj-$(CONFIG_ID_EEPROM)	+= sys_eeprom.o
31endif
32obj-$(CONFIG_FSL_SGMII_RISER)	+= sgmii_riser.o
33ifndef CONFIG_RAMBOOT_PBL
34obj-$(CONFIG_FSL_FIXED_MMC_LOCATION)	+= sdhc_boot.o
35endif
36
37obj-$(CONFIG_FSL_DIU_CH7301)	+= diu_ch7301.o
38
39obj-$(CONFIG_FSL_DCU_SII9022A)    += dcu_sii9022a.o
40
41obj-$(CONFIG_MPC8541CDS)	+= cds_pci_ft.o
42obj-$(CONFIG_MPC8548CDS)	+= cds_pci_ft.o
43obj-$(CONFIG_MPC8555CDS)	+= cds_pci_ft.o
44
45obj-$(CONFIG_MPC8536DS)	+= ics307_clk.o
46obj-$(CONFIG_MPC8572DS)	+= ics307_clk.o
47obj-$(CONFIG_P1022DS)		+= ics307_clk.o
48obj-$(CONFIG_P2020DS)		+= ics307_clk.o
49obj-$(CONFIG_P3041DS)		+= ics307_clk.o
50obj-$(CONFIG_P4080DS)		+= ics307_clk.o
51obj-$(CONFIG_P5020DS)		+= ics307_clk.o
52obj-$(CONFIG_P5040DS)		+= ics307_clk.o
53obj-$(CONFIG_VSC_CROSSBAR)    += vsc3316_3308.o
54obj-$(CONFIG_IDT8T49N222A)	+= idt8t49n222a_serdes_clk.o
55obj-$(CONFIG_ZM7300)		+= zm7300.o
56obj-$(CONFIG_POWER_PFUZE100)	+= pfuze.o
57
58# deal with common files for P-series corenet based devices
59obj-$(CONFIG_P2041RDB)	+= p_corenet/
60obj-$(CONFIG_P3041DS)	+= p_corenet/
61obj-$(CONFIG_P4080DS)	+= p_corenet/
62obj-$(CONFIG_P5020DS)	+= p_corenet/
63obj-$(CONFIG_P5040DS)	+= p_corenet/
64endif
65