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 | 9e41403 | 2014-02-04 17:24:24 +0900 | [diff] [blame] | 12 | $(obj)/bootscript.c: $(obj)/bootscript.image |
| 13 | od -t x1 -v -A x $^ | awk -f $(srctree)/$(src)/x2c.awk > $@ |
wdenk | 7f70e85 | 2003-05-20 14:25:27 +0000 | [diff] [blame] | 14 | |
Masahiro Yamada | 9e41403 | 2014-02-04 17:24:24 +0900 | [diff] [blame] | 15 | $(obj)/bootscript.image: $(src)/bootscript.hush |
| 16 | -$(OBJTREE)/tools/mkimage -A ppc -O linux -T script -C none -a 0 -e 0 -n bootscript -d $< $@ |
Masahiro Yamada | efcf861 | 2014-02-04 17:24:40 +0900 | [diff] [blame^] | 17 | |
| 18 | clean-files := bootscript.c bootscript.image |