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