summaryrefslogtreecommitdiff
path: root/board/cray/L1/Makefile
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-05-22 22:52:13 +0000
committerwdenk <wdenk>2003-05-22 22:52:13 +0000
commit5d232d0e7ea982d859d028ab482d95eb68460b19 (patch)
treea02c773fa4be5687f8f97d053ebd9afebbfaa54f /board/cray/L1/Makefile
parentc8c3a8be2dd09e51d7dc33f431e3a638ac5688f2 (diff)
downloadu-boot-imx-5d232d0e7ea982d859d028ab482d95eb68460b19.zip
u-boot-imx-5d232d0e7ea982d859d028ab482d95eb68460b19.tar.gz
u-boot-imx-5d232d0e7ea982d859d028ab482d95eb68460b19.tar.bz2
* Patch by Dave Ellis, 22 May 2003:
Fix problem with only partially cleared .bss segment * Patch by Rune Torgersen, 12 May 2003: get PCI to work on a MPC8266ADS board; incorporate change to cpu/mpc8260/pci.c to enable overrides of PCI memory parameters
Diffstat (limited to 'board/cray/L1/Makefile')
-rw-r--r--board/cray/L1/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/board/cray/L1/Makefile b/board/cray/L1/Makefile
index 4c09edd..e7dc0a8 100644
--- a/board/cray/L1/Makefile
+++ b/board/cray/L1/Makefile
@@ -25,21 +25,21 @@ include $(TOPDIR)/config.mk
LIB = lib$(BOARD).a
-OBJS = $(BOARD).o flash.o bootscript.o
+OBJS = $(BOARD).o flash.o
SOBJS = init.o
-$(LIB): $(OBJS) $(SOBJS)
+# HACK: depend needs bootscript.c, which needs tools/mkimage, which is not
+# built in the depend stage. So... put bootscript.o here, not in OBJS
+$(LIB): $(OBJS) $(SOBJS) bootscript.o
$(AR) crv $@ $^
clean:
- rm -f $(SOBJS) $(OBJS) bootscript.c bootscript.image
+ rm -f $(SOBJS) $(OBJS) bootscript.c bootscript.image bootscript.o
distclean: clean
rm -f $(LIB) core *.bak .depend
-$(BOARD).o: $(BOARD).c bootscript.o
-
-bootscript.o: bootscript.c
+$(BOARD).o : $(BOARD).c bootscript.o
bootscript.c: bootscript.image
od -t x1 -v -A x $^ | awk -f x2c.awk > $@