summaryrefslogtreecommitdiff
path: root/board/cray/L1/Makefile
blob: 63f43dab294e4051b106a3427f45ec8911d59d04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# (C) Copyright 2000-2006
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# SPDX-License-Identifier:	GPL-2.0+
#

obj-y	= L1.o flash.o
obj-y	+= init.o
obj-y	+= bootscript.o

$(obj)/bootscript.c: $(obj)/bootscript.image
	od -t x1 -v -A x $^ | awk -f $(srctree)/$(src)/x2c.awk > $@

$(obj)/bootscript.image: $(src)/bootscript.hush
	-$(OBJTREE)/tools/mkimage -A ppc -O linux -T script -C none -a 0 -e 0 -n bootscript -d $< $@

clean-files := bootscript.c bootscript.image