blob: a9c794e21acf0865601e20fd57047013d84fb98f [file] [log] [blame]
Andre Schwarz3f4bd652010-04-01 21:26:55 +02001#
2# (C) Copyright 2003
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2004-2008
6# Matrix-Vision GmbH, info@matrix-vision.de
7#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02008# SPDX-License-Identifier: GPL-2.0+
Andre Schwarz3f4bd652010-04-01 21:26:55 +02009#
10
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090011obj-y := mvsmr.o fpga.o
Andre Schwarz3f4bd652010-04-01 21:26:55 +020012
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090013extra-y := bootscript.img
Andre Schwarz3f4bd652010-04-01 21:26:55 +020014
Marek Vasut31fea442014-03-14 05:00:14 +010015quiet_cmd_mkimage = MKIMAGE $@
Masahiro Yamada18b727a2014-03-11 11:05:12 +090016cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
17 $(if $(KBUILD_VERBOSE:1=), >/dev/null)
18
19MKIMAGEFLAGS_bootscript.image := -T script -C none -n mvSMR_Script
20
Masahiro Yamada59f15f22014-02-04 17:24:24 +090021$(obj)/bootscript.img: $(src)/bootscript
Masahiro Yamada18b727a2014-03-11 11:05:12 +090022 $(call cmd,mkimage)