summaryrefslogtreecommitdiffstats
path: root/rules/image-nor0.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/image-nor0.make')
-rw-r--r--rules/image-nor0.make33
1 files changed, 33 insertions, 0 deletions
diff --git a/rules/image-nor0.make b/rules/image-nor0.make
new file mode 100644
index 0000000..1d8361c
--- /dev/null
+++ b/rules/image-nor0.make
@@ -0,0 +1,33 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Jan Luebbe <jlu@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+IMAGE_PACKAGES-$(PTXCONF_IMAGE_NOR0) += image-nor0
+
+#
+# Paths and names
+#
+IMAGE_NOR0 := image-nor0
+IMAGE_NOR0_DIR := $(BUILDDIR)/$(IMAGE_NOR0)
+IMAGE_NOR0_IMAGE := $(IMAGEDIR)/nor0.img
+IMAGE_NOR0_CONFIG := nor0.config
+
+# ----------------------------------------------------------------------------
+# Image
+# ----------------------------------------------------------------------------
+
+$(IMAGE_NOR0_IMAGE):
+ @$(call targetinfo)
+ @$(call image/genimage, IMAGE_NOR0)
+ @$(call finish)
+
+# vim: syntax=make