blob: 63f43dab294e4051b106a3427f45ec8911d59d04 [file] [log] [blame]
wdenk012771d2002-03-08 21:31:05 +00001#
Marian Balakowiczf9328632006-09-01 19:49:50 +02002# (C) Copyright 2000-2006
wdenk012771d2002-03-08 21:31:05 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenk012771d2002-03-08 21:31:05 +00006#
7
Masahiro Yamada377e1042013-10-21 11:53:38 +09008obj-y = L1.o flash.o
9obj-y += init.o
10obj-y += bootscript.o
wdenk7f70e852003-05-20 14:25:27 +000011
Masahiro Yamada9e414032014-02-04 17:24:24 +090012$(obj)/bootscript.c: $(obj)/bootscript.image
13 od -t x1 -v -A x $^ | awk -f $(srctree)/$(src)/x2c.awk > $@
wdenk7f70e852003-05-20 14:25:27 +000014
Masahiro Yamada9e414032014-02-04 17:24:24 +090015$(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 Yamadaefcf8612014-02-04 17:24:40 +090017
18clean-files := bootscript.c bootscript.image