From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 9 May 2008 15:59:44 -0500 Subject: [U-Boot-Users] [PATCH] Make out-of-tree compiling compatible In-Reply-To: <12103667841985-git-send-email-yorksun@freescale.com> References: <12103667841985-git-send-email-yorksun@freescale.com> Message-ID: <12103667861729-git-send-email-yorksun@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: York Sun --- board/ads5121/Makefile | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/board/ads5121/Makefile b/board/ads5121/Makefile index 8ace8a1..9b675f7 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-y += ads5121_diu.o +COBJS-y += ../freescale/common/fsl_diu_fb.o +COBJS-y += ../freescale/common/fsl_logo_bmp.o COBJS-$(CONFIG_PCI) += pci.o COBJS := $(COBJS-y) -- 1.5.2.2