summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/rules
diff options
context:
space:
mode:
Diffstat (limited to 'configs/platform-v7a/rules')
-rw-r--r--configs/platform-v7a/rules/blspec-sama5d27-giantboard.make36
-rw-r--r--configs/platform-v7a/rules/image-sama5d27-giantboard.make36
2 files changed, 72 insertions, 0 deletions
diff --git a/configs/platform-v7a/rules/blspec-sama5d27-giantboard.make b/configs/platform-v7a/rules/blspec-sama5d27-giantboard.make
new file mode 100644
index 0000000..d944d91
--- /dev/null
+++ b/configs/platform-v7a/rules/blspec-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
+#
+PACKAGES-$(PTXCONF_BLSPEC_SAMA5D27_GIANTBOARD) += blspec-sama5d27-giantboard
+
+BLSPEC_SAMA5D27_GIANTBOARD_VERSION := 5.8
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/blspec-sama5d27-giantboard.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, blspec-sama5d27-giantboard)
+ @$(call install_fixup,blspec-sama5d27-giantboard,PRIORITY,optional)
+ @$(call install_fixup,blspec-sama5d27-giantboard,SECTION,base)
+ @$(call install_fixup,blspec-sama5d27-giantboard,AUTHOR,"Ahmad Fatoum <afa@pengutronix.de>")
+ @$(call install_fixup,blspec-sama5d27-giantboard,DESCRIPTION,missing)
+
+ @$(call install_alternative, blspec-sama5d27-giantboard, 0, 0, 0644, \
+ /loader/entries/sama5d27-giantboard.conf)
+
+ @$(call install_finish,blspec-sama5d27-giantboard)
+
+ @$(call touch)
+
+# vim: syntax=make
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