summaryrefslogtreecommitdiff
path: root/cpu/bf533/Makefile
diff options
context:
space:
mode:
authorAubrey.Li <aubrey.adi@gmail.com>2007-03-09 13:38:44 +0800
committerAubrey.Li <aubrey.adi@gmail.com>2007-03-09 13:38:44 +0800
commit3f0606ad0b5639f7f22848fe5b4574e754d0470f (patch)
tree3cb4fd316134b6a176607ad61739720aeb971a5a /cpu/bf533/Makefile
parenteb92f613556800f7483666db09d9a237ad911d4a (diff)
downloadu-boot-imx-3f0606ad0b5639f7f22848fe5b4574e754d0470f.zip
u-boot-imx-3f0606ad0b5639f7f22848fe5b4574e754d0470f.tar.gz
u-boot-imx-3f0606ad0b5639f7f22848fe5b4574e754d0470f.tar.bz2
[Blackfin]PATCH-1/2]: Remove obsolete blackfin port and add bf533 platform support
Diffstat (limited to 'cpu/bf533/Makefile')
-rw-r--r--cpu/bf533/Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/cpu/bf533/Makefile b/cpu/bf533/Makefile
index 9f4a0d8..6fd5e33 100644
--- a/cpu/bf533/Makefile
+++ b/cpu/bf533/Makefile
@@ -2,7 +2,7 @@
#
# Copyright (c) 2005 blackfin.uclinux.org
#
-# (C) Copyright 2000-2006
+# (C) Copyright 2000-2004
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# See file CREDITS for list of people who contributed to this
@@ -26,25 +26,23 @@
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(CPU).a
+LIB = lib$(CPU).a
-START = start.o start1.o interrupt.o cache.o cplbhdlr.o cplbmgr.o flush.o
-COBJS = cpu.o traps.o ints.o serial.o interrupts.o
+START = start.o start1.o interrupt.o cache.o flush.o init_sdram.o
+OBJS = cpu.o traps.o ints.o serial.o interrupts.o video.o
-SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
-START := $(addprefix $(obj),$(START))
+EXTRA = init_sdram_bootrom_initblock.o
-all: $(obj).depend $(START) $(LIB)
+all: .depend $(START) $(LIB) .depend $(EXTRA)
$(LIB): $(OBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
+ $(AR) cr $@ $(OBJS)
#########################################################################
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
+.depend: Makefile $(START:.o=.S) $(OBJS:.o=.c)
+ $(CC) -M $(CFLAGS) $(START:.o=.S) $(OBJS:.o=.c) > $@
-sinclude $(obj).depend
+sinclude .depend
#########################################################################