summaryrefslogtreecommitdiffstats
path: root/board/cray/L1/Makefile
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-05-20 14:25:27 +0000
committerwdenk <wdenk>2003-05-20 14:25:27 +0000
commit7f70e85309c6367138c0ebd14abdd49964b8d50a (patch)
tree07a10be9b048491fd4a1da6b459728ac16739861 /board/cray/L1/Makefile
parent59de2ed6b5631c709d6e9c6dce7c0bffdf5a2058 (diff)
downloadblackbird-obmc-uboot-7f70e85309c6367138c0ebd14abdd49964b8d50a.tar.gz
blackbird-obmc-uboot-7f70e85309c6367138c0ebd14abdd49964b8d50a.zip
* Patch by David Updegraff, 22 Apr 2003:
update for CrayL1 board * Patch by Pantelis Antoniou, 21 Apr 2003: add boot support for ARTOS (a proprietary OS) * Patch by Steven Scholz, 11 Apr 2003: Add support for RTC DS1338 * Patch by Rod Boyce, 24 Jan 2003: Fix counting of extended partitions in diskboot command
Diffstat (limited to 'board/cray/L1/Makefile')
-rw-r--r--board/cray/L1/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/board/cray/L1/Makefile b/board/cray/L1/Makefile
index 12b2fa8107..4c09eddd91 100644
--- a/board/cray/L1/Makefile
+++ b/board/cray/L1/Makefile
@@ -25,18 +25,28 @@ include $(TOPDIR)/config.mk
LIB = lib$(BOARD).a
-OBJS = $(BOARD).o flash.o
-SOBJS = init.o
+OBJS = $(BOARD).o flash.o bootscript.o
+SOBJS = init.o
$(LIB): $(OBJS) $(SOBJS)
$(AR) crv $@ $^
clean:
- rm -f $(SOBJS) $(OBJS)
+ rm -f $(SOBJS) $(OBJS) bootscript.c bootscript.image
distclean: clean
rm -f $(LIB) core *.bak .depend
+$(BOARD).o: $(BOARD).c bootscript.o
+
+bootscript.o: bootscript.c
+
+bootscript.c: bootscript.image
+ od -t x1 -v -A x $^ | awk -f x2c.awk > $@
+
+bootscript.image: bootscript.hush Makefile
+ -$(TOPDIR)/tools/mkimage -A ppc -O linux -T script -C none -a 0 -e 0 -n bootscript -d bootscript.hush $@
+
#########################################################################
.depend: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
OpenPOWER on IntegriCloud