summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/rules/image-vexpress-nor.make
blob: 8d97b1b0b4ab91729ba1aacfaad4d5d7d483884b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# -*-makefile-*-
#
# Copyright (C) 2016 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
IMAGE_PACKAGES-$(PTXCONF_IMAGE_VEXPRESS_NOR) += image-flash

#
# Paths and names
#
IMAGE_VEXPRESS_NOR		:= image-flash
IMAGE_VEXPRESS_NOR_DIR		:= $(BUILDDIR)/$(IMAGE_VEXPRESS_NOR)
IMAGE_VEXPRESS_NOR_IMAGE	:= $(IMAGEDIR)/vexpress.norimg
IMAGE_VEXPRESS_NOR_CONFIG	:= vexpress-nor.config

# ----------------------------------------------------------------------------
# Image
# ----------------------------------------------------------------------------

# Note: no ':' and only works with one device tree
IMAGE_VEXPRESS_NOR_ENV = \
	DTB=$(IMAGEDIR)/vexpress-v2p-ca9.dtb

$(IMAGE_VEXPRESS_NOR_IMAGE):
	@$(call targetinfo)
	@$(call image/genimage, IMAGE_VEXPRESS_NOR)
	@$(call finish)

# vim: syntax=make