]> git.ipfire.org Git - people/ms/u-boot.git/blob - board/cray/L1/Makefile
kbuild: Rename UIMAGE to MKIMAGE
[people/ms/u-boot.git] / board / cray / L1 / Makefile
1 #
2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier: GPL-2.0+
6 #
7
8 obj-y = L1.o flash.o
9 obj-y += init.o
10 obj-y += bootscript.o
11
12 quiet_cmd_awk = AWK $@
13 cmd_awk = od -t x1 -v -A x $< | $(AWK) -f $(filter-out $<,$^) > $@
14
15 $(obj)/bootscript.c: $(obj)/bootscript.image $(src)/x2c.awk
16 $(call cmd,awk)
17
18 quiet_cmd_mkimage = MKIMAGE $@
19 cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
20 $(if $(KBUILD_VERBOSE:1=), >/dev/null)
21
22 MKIMAGEFLAGS_bootscript.image := -A ppc -O linux -T script -C none \
23 -a 0 -e 0 -n bootscript
24 $(obj)/bootscript.image: $(src)/bootscript.hush
25 $(call cmd,mkimage)
26
27 clean-files := bootscript.c bootscript.image