wdenk | 012771d | 2002-03-08 21:31:05 +0000 | [diff] [blame] | 1 | # |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 2 | # (C) Copyright 2000-2006 |
wdenk | 012771d | 2002-03-08 21:31:05 +0000 | [diff] [blame] | 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 012771d | 2002-03-08 21:31:05 +0000 | [diff] [blame] | 6 | # |
| 7 | |
Masahiro Yamada | 377e104 | 2013-10-21 11:53:38 +0900 | [diff] [blame] | 8 | obj-y = L1.o flash.o |
| 9 | obj-y += init.o |
| 10 | obj-y += bootscript.o |
wdenk | 7f70e85 | 2003-05-20 14:25:27 +0000 | [diff] [blame] | 11 | |
Masahiro Yamada | 22dbf14 | 2014-03-11 11:05:12 +0900 | [diff] [blame] | 12 | quiet_cmd_awk = AWK $@ |
| 13 | cmd_awk = od -t x1 -v -A x $< | $(AWK) -f $(filter-out $<,$^) > $@ |
wdenk | 7f70e85 | 2003-05-20 14:25:27 +0000 | [diff] [blame] | 14 | |
Masahiro Yamada | 22dbf14 | 2014-03-11 11:05:12 +0900 | [diff] [blame] | 15 | $(obj)/bootscript.c: $(obj)/bootscript.image $(src)/x2c.awk |
| 16 | $(call cmd,awk) |
| 17 | |
Masahiro Yamada | 22dbf14 | 2014-03-11 11:05:12 +0900 | [diff] [blame] | 18 | MKIMAGEFLAGS_bootscript.image := -A ppc -O linux -T script -C none \ |
| 19 | -a 0 -e 0 -n bootscript |
Masahiro Yamada | 9e41403 | 2014-02-04 17:24:24 +0900 | [diff] [blame] | 20 | $(obj)/bootscript.image: $(src)/bootscript.hush |
Masahiro Yamada | 22dbf14 | 2014-03-11 11:05:12 +0900 | [diff] [blame] | 21 | $(call cmd,mkimage) |
Masahiro Yamada | efcf861 | 2014-02-04 17:24:40 +0900 | [diff] [blame] | 22 | |
Masahiro Yamada | ba8dd77 | 2014-06-04 10:12:21 +0900 | [diff] [blame] | 23 | clean-files := bootscript.c bootscript.image |