blob: 9ed2837a788ea824013a9bf803568f8abefe225b [file] [log] [blame]
Andre Schwarzb2de4242008-06-10 09:14:05 +02001#
Kumar Gala6a6d9482009-07-28 21:49:52 -05002# Copyright (C) Freescale Semiconductor, Inc. 2006.
Andre Schwarzb2de4242008-06-10 09:14:05 +02003#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Andre Schwarzb2de4242008-06-10 09:14:05 +02005#
6
Masahiro Yamadac54b77e2013-10-21 11:53:38 +09007obj-y := mvblm7.o pci.o fpga.o
Andre Schwarzb2de4242008-06-10 09:14:05 +02008
Masahiro Yamadac54b77e2013-10-21 11:53:38 +09009extra-y := bootscript.img
Andre Schwarzb2de4242008-06-10 09:14:05 +020010
Marek Vasut31fea442014-03-14 05:00:14 +010011quiet_cmd_mkimage = MKIMAGE $@
Masahiro Yamada18b727a2014-03-11 11:05:12 +090012cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
13 $(if $(KBUILD_VERBOSE:1=), >/dev/null)
14
15MKIMAGEFLAGS_bootscript.image := -T script -C none -n M7_script
16
Masahiro Yamada59f15f22014-02-04 17:24:24 +090017$(obj)/bootscript.img: $(src)/bootscript
Masahiro Yamada18b727a2014-03-11 11:05:12 +090018 $(call cmd,mkimage)