aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-02-11 20:25:21 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-02-11 20:25:21 +0000
commitd8d0f3dc202282d964c153cee3e7831f8c108f4a (patch)
tree94c39cc57b91b1025df1ccb42e851ee74125c41c /release
parent53f2fbcab4ca497c4bed5e5728534468e2b9e992 (diff)
downloadsrc-d8d0f3dc202282d964c153cee3e7831f8c108f4a.tar.gz
src-d8d0f3dc202282d964c153cee3e7831f8c108f4a.zip
Initial restructure for FreeBSD/arm release builds.
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-arm-redux/; revision=278595
Diffstat (limited to 'release')
-rw-r--r--release/Makefile1
-rw-r--r--release/Makefile.arm36
-rw-r--r--release/arm/Makefile.BEAGLEBONE8
-rw-r--r--release/arm/Makefile.PANDABOARD8
-rw-r--r--release/arm/Makefile.RPI-B8
-rw-r--r--release/arm/Makefile.WANDBOARD-QUAD8
-rw-r--r--release/arm/Makefile.ZEDBOARD8
7 files changed, 77 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile
index 0a3f50972d15..6dda932ac7d6 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -316,3 +316,4 @@ release-install:
cd ${DESTDIR} && md5 ${OSRELEASE}* > ${DESTDIR}/CHECKSUM.MD5
.include "${.CURDIR}/Makefile.vm"
+.include "${.CURDIR}/Makefile.arm"
diff --git a/release/Makefile.arm b/release/Makefile.arm
new file mode 100644
index 000000000000..714b2f56e675
--- /dev/null
+++ b/release/Makefile.arm
@@ -0,0 +1,36 @@
+#
+# $FreeBSD$
+#
+
+BOARDS?= BEAGLEBONE \
+ RPI-B \
+ PANDABOARD \
+ WANDBOARD-QUAD \
+ ZEDBOARD \
+ NUCLEUS
+
+ARMTARGETS?=
+ARMSIZE?= 1G
+ARMPORTS?=
+CLEANFILES+= arm-all
+WITH_ARM_IMAGES?=1
+
+.if defined(WITH_ARM_IMAGES) && !empty(WITH_ARM_IMAGES) && !empty(BOARDS)
+. for BOARD in ${BOARDS}
+ARMTARGETS+= arm-${BOARD:tl}
+CLEANDIRS+= arm-${BOARD:tl}
+CLEANFILES+= arm-${BOARD:tu}.img \
+ arm-${BOARD:tu}.raw \
+ build-arm-${BOARD:tl}
+. if exists(${.CURDIR}/arm/Makefile.${BOARD})
+. include "${.CURDIR}/arm/Makefile.${BOARD}"
+. endif
+
+arm-${BOARD:tl}:
+ ${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} build-${.TARGET}
+. endfor
+.endif # !WITH_ARM_IMAGES
+
+
+arm-all: ${ARMTARGETS}
+ touch ${.TARGET}
diff --git a/release/arm/Makefile.BEAGLEBONE b/release/arm/Makefile.BEAGLEBONE
new file mode 100644
index 000000000000..c70c29746be3
--- /dev/null
+++ b/release/arm/Makefile.BEAGLEBONE
@@ -0,0 +1,8 @@
+#
+# $FreeBSD$
+#
+
+BOARD= BEAGLEBONE
+
+build-arm-${BOARD:tl}:
+ touch ${.TARGET}
diff --git a/release/arm/Makefile.PANDABOARD b/release/arm/Makefile.PANDABOARD
new file mode 100644
index 000000000000..ecec392584c4
--- /dev/null
+++ b/release/arm/Makefile.PANDABOARD
@@ -0,0 +1,8 @@
+#
+# $FreeBSD$
+#
+
+BOARD= PANDABOARD
+
+build-arm-${BOARD:tl}:
+ touch ${.TARGET}
diff --git a/release/arm/Makefile.RPI-B b/release/arm/Makefile.RPI-B
new file mode 100644
index 000000000000..db36193dde1a
--- /dev/null
+++ b/release/arm/Makefile.RPI-B
@@ -0,0 +1,8 @@
+#
+# $FreeBSD$
+#
+
+BOARD= RPI-B
+
+build-arm-${BOARD:tl}:
+ touch ${.TARGET}
diff --git a/release/arm/Makefile.WANDBOARD-QUAD b/release/arm/Makefile.WANDBOARD-QUAD
new file mode 100644
index 000000000000..290bfdf46b7c
--- /dev/null
+++ b/release/arm/Makefile.WANDBOARD-QUAD
@@ -0,0 +1,8 @@
+#
+# $FreeBSD$
+#
+
+BOARD= WANDBOARD-QUAD
+
+build-arm-${BOARD:tl}:
+ touch ${.TARGET}
diff --git a/release/arm/Makefile.ZEDBOARD b/release/arm/Makefile.ZEDBOARD
new file mode 100644
index 000000000000..a17473fe80d6
--- /dev/null
+++ b/release/arm/Makefile.ZEDBOARD
@@ -0,0 +1,8 @@
+#
+# $FreeBSD$
+#
+
+BOARD= ZEDBOARD
+
+build-arm-${BOARD:tl}:
+ touch ${.TARGET}