2002-03-09 05:31:05 +08:00
|
|
|
#
|
2006-09-02 01:49:50 +08:00
|
|
|
# (C) Copyright 2000-2006
|
2002-03-09 05:31:05 +08:00
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 15:37:19 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2002-03-09 05:31:05 +08:00
|
|
|
#
|
|
|
|
|
2013-10-21 10:53:38 +08:00
|
|
|
obj-y = L1.o flash.o
|
|
|
|
obj-y += init.o
|
|
|
|
obj-y += bootscript.o
|
2003-05-20 22:25:27 +08:00
|
|
|
|
2014-02-04 16:24:24 +08:00
|
|
|
$(obj)/bootscript.c: $(obj)/bootscript.image
|
|
|
|
od -t x1 -v -A x $^ | awk -f $(srctree)/$(src)/x2c.awk > $@
|
2003-05-20 22:25:27 +08:00
|
|
|
|
2014-02-04 16:24:24 +08:00
|
|
|
$(obj)/bootscript.image: $(src)/bootscript.hush
|
|
|
|
-$(OBJTREE)/tools/mkimage -A ppc -O linux -T script -C none -a 0 -e 0 -n bootscript -d $< $@
|
2014-02-04 16:24:40 +08:00
|
|
|
|
|
|
|
clean-files := bootscript.c bootscript.image
|