blob: 5f6c690b7c2c41c2c18b63e9d194b92895ecaef7 [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
Marian Balakowiczf9328632006-09-01 19:49:50 +020012$(obj)bootscript.c: $(obj)bootscript.image
wdenk7f70e852003-05-20 14:25:27 +000013 od -t x1 -v -A x $^ | awk -f x2c.awk > $@
14
Marian Balakowiczf9328632006-09-01 19:49:50 +020015$(obj)bootscript.image: $(src)bootscript.hush $(src)Makefile
16 -$(OBJTREE)/tools/mkimage -A ppc -O linux -T script -C none -a 0 -e 0 -n bootscript -d $(src)bootscript.hush $@