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 MKIMAGEFLAGS_bootscript.image := -A ppc -O linux -T script -C none \
19 -a 0 -e 0 -n bootscript
20 $(obj)/bootscript.image: $(src)/bootscript.hush
23 clean-files := bootscript.c bootscript.image