summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a_noneon/rules/image-vexpress-nor.make
diff options
context:
space:
mode:
Diffstat (limited to 'configs/platform-v7a_noneon/rules/image-vexpress-nor.make')
-rw-r--r--configs/platform-v7a_noneon/rules/image-vexpress-nor.make35
1 files changed, 35 insertions, 0 deletions
diff --git a/configs/platform-v7a_noneon/rules/image-vexpress-nor.make b/configs/platform-v7a_noneon/rules/image-vexpress-nor.make
new file mode 100644
index 0000000..8d97b1b
--- /dev/null
+++ b/configs/platform-v7a_noneon/rules/image-vexpress-nor.make
@@ -0,0 +1,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