blob: b5987fde39af00a282192a3e71b4ff336b2181a3 [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
Masahiro Yamada18b727a2014-03-11 11:05:12 +090011quiet_cmd_mkimage = UIMAGE $@
12cmd_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)