summaryrefslogtreecommitdiffstats
path: root/rules/image-boot-mlo.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-07-06 14:12:19 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-07-06 15:17:24 +0200
commit4b56108a3a64f6c55340556cca4cefb500e2a72b (patch)
tree80142bc17b2f0392ee0777d026a4a90348b9b4da /rules/image-boot-mlo.make
parentbd60cc397fefb1a8bc05b766d1e716257b19de4a (diff)
downloadptxdist-4b56108a3a64f6c55340556cca4cefb500e2a72b.tar.gz
ptxdist-4b56108a3a64f6c55340556cca4cefb500e2a72b.tar.xz
add some example new-style image rules
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/image-boot-mlo.make')
-rw-r--r--rules/image-boot-mlo.make33
1 files changed, 33 insertions, 0 deletions
diff --git a/rules/image-boot-mlo.make b/rules/image-boot-mlo.make
new file mode 100644
index 000000000..77c17b5fb
--- /dev/null
+++ b/rules/image-boot-mlo.make
@@ -0,0 +1,33 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2012 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_BOOT_MLO) += image-boot-mlo
+
+#
+# Paths and names
+#
+IMAGE_BOOT_MLO := image-boot-mlo
+IMAGE_BOOT_MLO_DIR := $(BUILDDIR)/$(IMAGE_BOOT_MLO)
+IMAGE_BOOT_MLO_IMAGE := $(IMAGEDIR)/boot-mlo.vfat
+IMAGE_BOOT_MLO_CONFIG := boot-mlo-vfat.config
+
+# ----------------------------------------------------------------------------
+# Image
+# ----------------------------------------------------------------------------
+
+$(IMAGE_BOOT_MLO_IMAGE):
+ @$(call targetinfo)
+ @$(call image/genimage, IMAGE_BOOT_MLO)
+ @$(call finish)
+
+# vim: syntax=make