]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/arm926ejs/mxs/Makefile
Revert "Start the deprecation process for generic board"
[karo-tx-uboot.git] / arch / arm / cpu / arm926ejs / mxs / Makefile
1 #
2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 extra-$(CONFIG_SPL_BUILD) := start.o
9
10 obj-y   = clock.o mxs.o iomux.o timer.o
11
12 ifdef   CONFIG_SPL_BUILD
13 obj-y   += spl_boot.o spl_lradc_init.o spl_mem_init.o spl_power_init.o
14 endif
15
16 # Specify the target for use in elftosb call
17 MKIMAGE_TARGET-$(CONFIG_MX23) = mxsimage.mx23.cfg
18 MKIMAGE_TARGET-$(CONFIG_MX28) = mxsimage.mx28.cfg
19
20 quiet_cmd_mkimage_mxs = MKIMAGE $@
21 cmd_mkimage_mxs = $(objtree)/tools/mkimage -n $< -T mxsimage $@ \
22         $(if $(KBUILD_VERBOSE:1=), >/dev/null)
23
24 u-boot.sb: $(src)/$(MKIMAGE_TARGET-y) u-boot.bin spl/u-boot-spl.bin FORCE
25         $(call if_changed,mkimage_mxs)