From 0e1bad47cd345c76c91a64caf41011e431b62599 Mon Sep 17 00:00:00 2001 From: York Sun Date: Mon, 5 May 2008 10:20:01 -0500 Subject: Adding DIU support for Freescale 5121ADS Add DIU and cfb console support to FSL 5121ADS board. Use #define CONFIG_VIDEO in config file to enable fb console. Signed-off-by: York Sun --- board/ads5121/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/ads5121/Makefile') diff --git a/board/ads5121/Makefile b/board/ads5121/Makefile index b93bee1..8ace8a1 100644 --- a/board/ads5121/Makefile +++ b/board/ads5121/Makefile @@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(BOARD).a -COBJS-y := $(BOARD).o +COBJS-y := $(BOARD).o ads5121_diu.o ../freescale/common/fsl_diu_fb.o ../freescale/common/fsl_logo_bmp.o COBJS-$(CONFIG_PCI) += pci.o COBJS := $(COBJS-y) -- cgit v1.1 From 4416603aeb06861b468b06a981e52c3ff805db7b Mon Sep 17 00:00:00 2001 From: York Sun Date: Mon, 12 May 2008 14:36:39 -0500 Subject: Make ads5121 out-of-tree compiling safe Reuse the existing DIU driver in board/freescale/common. Signed-off-by: York Sun --- board/ads5121/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'board/ads5121/Makefile') diff --git a/board/ads5121/Makefile b/board/ads5121/Makefile index 8ace8a1..f4dacce 100644 --- a/board/ads5121/Makefile +++ b/board/ads5121/Makefile @@ -23,9 +23,14 @@ include $(TOPDIR)/config.mk +$(shell mkdir -p $(OBJTREE)/board/freescale/common) + LIB = $(obj)lib$(BOARD).a -COBJS-y := $(BOARD).o ads5121_diu.o ../freescale/common/fsl_diu_fb.o ../freescale/common/fsl_logo_bmp.o +COBJS-y := $(BOARD).o +COBJS-${CONFIG_FSL_DIU_FB} += ads5121_diu.o +COBJS-${CONFIG_FSL_DIU_FB} += ../freescale/common/fsl_diu_fb.o +COBJS-${CONFIG_FSL_DIU_FB} += ../freescale/common/fsl_logo_bmp.o COBJS-$(CONFIG_PCI) += pci.o COBJS := $(COBJS-y) -- cgit v1.1