2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
12 quiet_cmd_awk
= AWK
$@
13 cmd_awk
= od
-t x1
-v
-A x
$< |
$(AWK
) -f
$(filter-out $<,$^
) > $@
15 $(obj
)/bootscript.c
: $(obj
)/bootscript.image
$(src
)/x2c.awk
18 quiet_cmd_mkimage
= MKIMAGE
$@
19 cmd_mkimage
= $(objtree
)/tools
/mkimage
$(MKIMAGEFLAGS_
$(@F
)) -d
$< $@ \
20 $(if
$(KBUILD_VERBOSE
:1=), >/dev
/null
)
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
27 clean-files
:= bootscript.c bootscript.image