mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-13 23:02:59 +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>
25 lines
695 B
Makefile
25 lines
695 B
Makefile
#
|
|
# (C) Copyright 2000-2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
extra-$(CONFIG_SPL_BUILD) := start.o
|
|
|
|
obj-y = clock.o mxs.o iomux.o timer.o
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-y += spl_boot.o spl_lradc_init.o spl_mem_init.o spl_power_init.o
|
|
endif
|
|
|
|
# Specify the target for use in elftosb call
|
|
MKIMAGE_TARGET-$(CONFIG_MX23) = mxsimage.mx23.cfg
|
|
MKIMAGE_TARGET-$(CONFIG_MX28) = mxsimage.mx28.cfg
|
|
|
|
quiet_cmd_mkimage_mxs = MKIMAGE $@
|
|
cmd_mkimage_mxs = $(objtree)/tools/mkimage -n $< -T mxsimage $@ \
|
|
$(if $(KBUILD_VERBOSE:1=), >/dev/null)
|
|
|
|
u-boot.sb: $(src)/$(MKIMAGE_TARGET-y) u-boot.bin spl/u-boot-spl.bin FORCE
|
|
$(call if_changed,mkimage_mxs)
|