summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/rules
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-06-16 08:57:02 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2017-06-30 21:50:36 +0200
commit38b7d0dbb9d1902be4e27d0fadc1b829afdd5c33 (patch)
tree64331263aaacffd578ebfbc87ce591c386f0513e /configs/platform-v7a/rules
parentf7cea27a86d669f2f50128bd17308ea6a72a508b (diff)
downloadDistroKit-38b7d0dbb9d1902be4e27d0fadc1b829afdd5c33.tar.gz
DistroKit-38b7d0dbb9d1902be4e27d0fadc1b829afdd5c33.tar.xz
platform-v7a: beaglebone: add board support
Re-add support for beaglebone-white and beaglebone-black, with the configs+rules for image creation and bootspec entries. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> [improve commit description] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/rules')
-rw-r--r--configs/platform-v7a/rules/image-beaglebone.make34
1 files changed, 34 insertions, 0 deletions
diff --git a/configs/platform-v7a/rules/image-beaglebone.make b/configs/platform-v7a/rules/image-beaglebone.make
new file mode 100644
index 0000000..003bdda
--- /dev/null
+++ b/configs/platform-v7a/rules/image-beaglebone.make
@@ -0,0 +1,34 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 by Sascha Hauer <s.hauer@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_BEAGLEBONE) += image-beaglebone
+
+#
+# Paths and names
+#
+IMAGE_BEAGLEBONE := image-beaglebone
+IMAGE_BEAGLEBONE_DIR := $(BUILDDIR)/$(IMAGE_BEAGLEBONE)
+IMAGE_BEAGLEBONE_IMAGE := $(IMAGEDIR)/beaglebone.hdimg
+IMAGE_BEAGLEBONE_FILES := $(IMAGEDIR)/root.tgz
+IMAGE_BEAGLEBONE_CONFIG := beaglebone.config
+
+# ----------------------------------------------------------------------------
+# Image
+# ----------------------------------------------------------------------------
+
+$(IMAGE_BEAGLEBONE_IMAGE):
+ @$(call targetinfo)
+ @$(call image/genimage, IMAGE_BEAGLEBONE)
+ @$(call finish)
+
+# vim: syntax=make