freescale: Tweak various Makefiles to remove redundancy, fix aesthetics

No intended functional change, just remove redundancies in some
Makefiles, and make whitespace aesthetics uniform.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
Robert P. J. Day 2016-04-13 17:49:28 -04:00 committed by York Sun
parent 743268f514
commit 23d4e5ba49
14 changed files with 46 additions and 65 deletions

View file

@ -13,15 +13,11 @@ endif
endif
ifdef MINIMAL
obj-y += spl_minimal.o tlb.o law.o
obj-y += spl_minimal.o
else
obj-y += bsc9131rdb.o
obj-y += ddr.o
endif
obj-y += law.o
obj-y += tlb.o
#obj-y += bsc9131rdb_mux.o
endif

View file

@ -13,14 +13,11 @@ endif
endif
ifdef MINIMAL
obj-y += spl_minimal.o tlb.o law.o
obj-y += spl_minimal.o
else
obj-y += bsc9132qds.o
obj-y += ddr.o
endif
obj-y += law.o
obj-y += tlb.o
endif

View file

@ -11,15 +11,15 @@ endif
endif
ifdef MINIMAL
obj-y += spl_minimal.o tlb.o law.o
obj-y += spl_minimal.o
else
ifdef CONFIG_SPL_BUILD
obj-y += spl.o
endif
obj-y += c29xpcie.o
obj-y += cpld.o
obj-y += ddr.o
endif
obj-y += law.o
obj-y += tlb.o
endif

View file

@ -13,18 +13,14 @@ endif
endif
ifdef MINIMAL
obj-y += spl_minimal.o tlb.o law.o
obj-y += spl_minimal.o
else
ifdef CONFIG_SPL_BUILD
obj-y += spl.o
endif
obj-y += p1010rdb.o
obj-y += ddr.o
endif
obj-y += law.o
obj-y += tlb.o
endif

View file

@ -13,17 +13,15 @@ endif
endif
ifdef MINIMAL
obj-y += spl_minimal.o tlb.o law.o
obj-y += spl_minimal.o
else
ifdef CONFIG_SPL_BUILD
obj-y += spl.o
endif
obj-y += p1022ds.o
obj-y += ddr.o
obj-y += law.o
obj-y += tlb.o
obj-$(CONFIG_FSL_DIU_FB) += diu.o
endif
obj-y += law.o
obj-y += tlb.o

View file

@ -13,17 +13,14 @@ endif
endif
ifdef MINIMAL
obj-y += spl_minimal.o tlb.o law.o
obj-y += spl_minimal.o
else
ifdef CONFIG_SPL_BUILD
obj-y += spl.o
endif
obj-y += p1_p2_rdb_pc.o
obj-y += ddr.o
endif
obj-y += law.o
obj-y += tlb.o
endif

View file

@ -7,10 +7,8 @@
ifdef CONFIG_SPL_BUILD
obj-y += spl.o
else
obj-$(CONFIG_T2080QDS) += t208xqds.o
obj-$(CONFIG_T2080QDS) += eth_t208xqds.o
obj-$(CONFIG_T2081QDS) += t208xqds.o
obj-$(CONFIG_T2081QDS) += eth_t208xqds.o
obj-$(CONFIG_T2080QDS) += t208xqds.o eth_t208xqds.o
obj-$(CONFIG_T2081QDS) += t208xqds.o eth_t208xqds.o
obj-$(CONFIG_PCI) += pci.o
endif

View file

@ -7,9 +7,7 @@
ifdef CONFIG_SPL_BUILD
obj-y += spl.o
else
obj-$(CONFIG_T2080RDB) += t208xrdb.o
obj-$(CONFIG_T2080RDB) += eth_t208xrdb.o
obj-$(CONFIG_T2080RDB) += cpld.o
obj-$(CONFIG_T2080RDB) += t208xrdb.o eth_t208xrdb.o cpld.o
obj-$(CONFIG_PCI) += pci.o
endif

View file

@ -7,10 +7,10 @@
ifdef CONFIG_SPL_BUILD
obj-y += spl.o
else
obj-$(CONFIG_T4240QDS) += t4240qds.o
obj-$(CONFIG_T4240QDS)+= eth.o
obj-$(CONFIG_T4240QDS) += t4240qds.o eth.o
obj-$(CONFIG_PCI) += pci.o
endif
obj-y += ddr.o
obj-y += law.o
obj-y += tlb.o

View file

@ -12,6 +12,7 @@ obj-y += cpld.o
obj-y += eth.o
obj-$(CONFIG_PCI) += pci.o
endif
obj-y += ddr.o
obj-y += law.o
obj-y += tlb.o