]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/cpu/arm926ejs/mxs/Makefile
kbuild: Rename UIMAGE to MKIMAGE
[people/ms/u-boot.git] / arch / arm / cpu / arm926ejs / mxs / Makefile
CommitLineData
6e9a0a39
MV
1#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
6e9a0a39
MV
6#
7
d8769c62 8extra-$(CONFIG_SPL_BUILD) := start.o
6e9a0a39 9
d8769c62 10obj-y = clock.o mxs.o iomux.o timer.o
6e9a0a39 11
c944a3ef 12ifdef CONFIG_SPL_BUILD
d8769c62 13obj-y += spl_boot.o spl_lradc_init.o spl_mem_init.o spl_power_init.o
c944a3ef
MV
14endif
15
714dc001 16# Specify the target for use in elftosb call
07e27ce0
MY
17MKIMAGE_TARGET-$(CONFIG_MX23) = mxsimage.mx23.cfg
18MKIMAGE_TARGET-$(CONFIG_MX28) = mxsimage.mx28.cfg
714dc001 19
b97241b3 20quiet_cmd_mkimage_mxs = MKIMAGE $@
07e27ce0
MY
21cmd_mkimage_mxs = $(objtree)/tools/mkimage -n $< -T mxsimage $@ \
22 $(if $(KBUILD_VERBOSE:1=), >/dev/null)
714dc001 23
07e27ce0
MY
24u-boot.sb: $(src)/$(MKIMAGE_TARGET-y) u-boot.bin spl/u-boot-spl.bin FORCE
25 $(call if_changed,mkimage_mxs)