diff options
author | Wolfgang Denk <wd@denx.de> | 2008-03-27 00:16:34 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-03-27 00:16:34 +0100 |
commit | 38b189fe749824ea9b1c5422865e78b4b7eb2494 (patch) | |
tree | 76ee4026df54c7c21a9844d45cb1a5cdbcc339bf /board/freescale/mpc8541cds/Makefile | |
parent | 0207fefa4dc530dba518abf37c2957915251b416 (diff) | |
parent | dd6c910aadf27c822f17b87eae1a9bd0b2e3aa15 (diff) | |
download | u-boot-imx-38b189fe749824ea9b1c5422865e78b4b7eb2494.zip u-boot-imx-38b189fe749824ea9b1c5422865e78b4b7eb2494.tar.gz u-boot-imx-38b189fe749824ea9b1c5422865e78b4b7eb2494.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx
Diffstat (limited to 'board/freescale/mpc8541cds/Makefile')
-rw-r--r-- | board/freescale/mpc8541cds/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/board/freescale/mpc8541cds/Makefile b/board/freescale/mpc8541cds/Makefile index d1a585a..3ae2e97 100644 --- a/board/freescale/mpc8541cds/Makefile +++ b/board/freescale/mpc8541cds/Makefile @@ -23,21 +23,16 @@ # include $(TOPDIR)/config.mk -ifneq ($(OBJTREE),$(SRCTREE)) -$(shell mkdir -p $(obj)../common) -endif LIB = $(obj)lib$(BOARD).a -COBJS := $(BOARD).o law.o tlb.o \ - ../common/cadmus.o \ - ../common/eeprom.o \ - ../common/ft_board.o \ - ../common/via.o +COBJS-y += $(BOARD).o +COBJS-y += law.o +COBJS-y += tlb.o -SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) -OBJS := $(addprefix $(obj),$(COBJS)) -SOBJS := $(addprefix $(obj),$(SOBJS)) +SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS-y)) +SOBJS := $(addprefix $(obj),$(SOBJS-y)) $(LIB): $(obj).depend $(OBJS) $(SOBJS) $(AR) $(ARFLAGS) $@ $(OBJS) |