blob: 9ed2837a788ea824013a9bf803568f8abefe225b [file] [log] [blame]
Andre Schwarza1293e52008-06-10 09:14:05 +02001#
Kumar Gala4c2e3da2009-07-28 21:49:52 -05002# Copyright (C) Freescale Semiconductor, Inc. 2006.
Andre Schwarza1293e52008-06-10 09:14:05 +02003#
Wolfgang Denk1a459662013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Andre Schwarza1293e52008-06-10 09:14:05 +02005#
6
Masahiro Yamada377e1042013-10-21 11:53:38 +09007obj-y := mvblm7.o pci.o fpga.o
Andre Schwarza1293e52008-06-10 09:14:05 +02008
Masahiro Yamada377e1042013-10-21 11:53:38 +09009extra-y := bootscript.img
Andre Schwarza1293e52008-06-10 09:14:05 +020010
Marek Vasutb97241b2014-03-14 05:00:14 +010011quiet_cmd_mkimage = MKIMAGE $@
Masahiro Yamada22dbf142014-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 Yamada9e414032014-02-04 17:24:24 +090017$(obj)/bootscript.img: $(src)/bootscript
Masahiro Yamada22dbf142014-03-11 11:05:12 +090018 $(call cmd,mkimage)