summaryrefslogtreecommitdiff
path: root/board/freescale/common
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2008-03-19 15:02:07 -0500
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-03-26 11:43:04 -0500
commit25eedb2c1958a13110c7de1fc809b624053cc69c (patch)
treea1548c4de9a5c5bd50320ec8731a7a174b69149e /board/freescale/common
parenta5af4b358a7caa9c0aa374d4d894bf762ec37669 (diff)
downloadu-boot-imx-25eedb2c1958a13110c7de1fc809b624053cc69c.zip
u-boot-imx-25eedb2c1958a13110c7de1fc809b624053cc69c.tar.gz
u-boot-imx-25eedb2c1958a13110c7de1fc809b624053cc69c.tar.bz2
FSL: Clean up board/freescale/common/Makefile
Each file that can be built here now follows some CONFIG_ option so that they are appropriately built or not, as needed. And CONFIG_ defines were added to various board config files to make sure that happens. The other board/freescale/*/Makefiles no longer need to reach up and over into ../common to build their individually needed files any more. Boards that are CDS specific were renamed with cds_ prefix. Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'board/freescale/common')
-rw-r--r--board/freescale/common/Makefile12
-rw-r--r--board/freescale/common/cds_eeprom.c (renamed from board/freescale/common/eeprom.c)0
-rw-r--r--board/freescale/common/cds_pci_ft.c (renamed from board/freescale/common/ft_board.c)0
-rw-r--r--board/freescale/common/cds_via.c (renamed from board/freescale/common/via.c)0
4 files changed, 10 insertions, 2 deletions
diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile
index 6665e7f..6340b41 100644
--- a/board/freescale/common/Makefile
+++ b/board/freescale/common/Makefile
@@ -29,10 +29,18 @@ endif
LIB = $(obj)lib$(VENDOR).a
-COBJS-${CONFIG_PQ_MDS_PIB} += pq-mds-pib.o
-COBJS-${CONFIG_ID_EEPROM} += sys_eeprom.o
+COBJS-${CONFIG_FSL_CADMUS} += cadmus.o
+COBJS-${CONFIG_FSL_CDS_EEPROM} += cds_eeprom.o
+COBJS-${CONFIG_FSL_VIA} += cds_via.o
COBJS-${CONFIG_FSL_DIU_FB} += fsl_diu_fb.o fsl_logo_bmp.o
COBJS-${CONFIG_FSL_PIXIS} += pixis.o
+COBJS-${CONFIG_PQ_MDS_PIB} += pq-mds-pib.o
+COBJS-${CONFIG_ID_EEPROM} += sys_eeprom.o
+
+COBJS-${CONFIG_MPC8541CDS} += cds_pci_ft.o
+COBJS-${CONFIG_MPC8548CDS} += cds_pci_ft.o
+COBJS-${CONFIG_MPC8555CDS} += cds_pci_ft.o
+
SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS-y))
diff --git a/board/freescale/common/eeprom.c b/board/freescale/common/cds_eeprom.c
index 5034e0c..5034e0c 100644
--- a/board/freescale/common/eeprom.c
+++ b/board/freescale/common/cds_eeprom.c
diff --git a/board/freescale/common/ft_board.c b/board/freescale/common/cds_pci_ft.c
index 6f221af..6f221af 100644
--- a/board/freescale/common/ft_board.c
+++ b/board/freescale/common/cds_pci_ft.c
diff --git a/board/freescale/common/via.c b/board/freescale/common/cds_via.c
index 4a63d77..4a63d77 100644
--- a/board/freescale/common/via.c
+++ b/board/freescale/common/cds_via.c