mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
b97241b312
U-Boot uses the 'mkimage' tool to produce various image types, not only uImage image type. Rename the invocation name from UIMAGE to MKIMAGE. The following command was used to do the replacement: git grep 'quiet_cmd_mkimage.* = UIMAGE' | cut -d : -f 1 | \ xargs -i sed -i "s@\(quiet_cmd_mkimage\)\(.*\) = UIMAGE @\1\2 = MKIMAGE@" {} Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
27 lines
No EOL
728 B
Makefile
27 lines
No EOL
728 B
Makefile
#
|
|
# (C) Copyright 2000-2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-y = L1.o flash.o
|
|
obj-y += init.o
|
|
obj-y += bootscript.o
|
|
|
|
quiet_cmd_awk = AWK $@
|
|
cmd_awk = od -t x1 -v -A x $< | $(AWK) -f $(filter-out $<,$^) > $@
|
|
|
|
$(obj)/bootscript.c: $(obj)/bootscript.image $(src)/x2c.awk
|
|
$(call cmd,awk)
|
|
|
|
quiet_cmd_mkimage = MKIMAGE $@
|
|
cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
|
|
$(if $(KBUILD_VERBOSE:1=), >/dev/null)
|
|
|
|
MKIMAGEFLAGS_bootscript.image := -A ppc -O linux -T script -C none \
|
|
-a 0 -e 0 -n bootscript
|
|
$(obj)/bootscript.image: $(src)/bootscript.hush
|
|
$(call cmd,mkimage)
|
|
|
|
clean-files := bootscript.c bootscript.image
|