summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/rules/image-sama5d27-giantboard.make
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-10-12 21:36:03 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2020-11-01 09:59:03 +0100
commit5d528ab4ee2cef3ea10788d4c8fca5adbd09959f (patch)
tree07d5ef18847165f02d1c57b709c7266831f381a0 /configs/platform-v7a/rules/image-sama5d27-giantboard.make
parent89345d1944929d5e268eed15fde34702a7fdd9d1 (diff)
downloadDistroKit-5d528ab4ee2cef3ea10788d4c8fca5adbd09959f.tar.gz
DistroKit-5d528ab4ee2cef3ea10788d4c8fca5adbd09959f.tar.xz
v7a: sama5d2: generate image for Groboard Giantboard as well
Add the same bit of boilerplate we added for the EK1 to get an image generated for the giant board as well. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/rules/image-sama5d27-giantboard.make')
-rw-r--r--configs/platform-v7a/rules/image-sama5d27-giantboard.make36
1 files changed, 36 insertions, 0 deletions
diff --git a/configs/platform-v7a/rules/image-sama5d27-giantboard.make b/configs/platform-v7a/rules/image-sama5d27-giantboard.make
new file mode 100644
index 0000000..cd7f619
--- /dev/null
+++ b/configs/platform-v7a/rules/image-sama5d27-giantboard.make
@@ -0,0 +1,36 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Ahmad Fatoum <a.fatoum@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+IMAGE_PACKAGES-$(PTXCONF_IMAGE_SAMA5D27_GIANTBOARD) += image-sama5d27-giantboard
+
+#
+# Paths and names
+#
+IMAGE_SAMA5D27_GIANTBOARD := image-sama5d27-giantboard
+IMAGE_SAMA5D27_GIANTBOARD_DIR := $(BUILDDIR)/$(IMAGE_SAMA5D27_GIANTBOARD)
+IMAGE_SAMA5D27_GIANTBOARD_IMAGE := $(IMAGEDIR)/sama5d27-giantboard.hdimg
+IMAGE_SAMA5D27_GIANTBOARD_FILES := $(IMAGEDIR)/root.tgz
+IMAGE_SAMA5D27_GIANTBOARD_CONFIG := at91-sd.config
+
+# ----------------------------------------------------------------------------
+# Image
+# ----------------------------------------------------------------------------
+
+IMAGE_SAMA5D27_GIANTBOARD_ENV := \
+ FSBL=barebox-groboards-sama5d27-giantboard-xload-mmc.img \
+ SSBL=barebox-groboards-sama5d27-giantboard.img
+
+$(IMAGE_SAMA5D27_GIANTBOARD_IMAGE):
+ @$(call targetinfo)
+ @$(call image/genimage, IMAGE_SAMA5D27_GIANTBOARD)
+ @$(call finish)
+
+# vim: syntax=make