Initial restructure for FreeBSD/arm release builds.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-02-11 20:25:21 +00:00
parent 53f2fbcab4
commit d8d0f3dc20
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/release-arm-redux/; revision=278595
7 changed files with 77 additions and 0 deletions

View File

@ -316,3 +316,4 @@ release-install:
cd ${DESTDIR} && md5 ${OSRELEASE}* > ${DESTDIR}/CHECKSUM.MD5
.include "${.CURDIR}/Makefile.vm"
.include "${.CURDIR}/Makefile.arm"

36
release/Makefile.arm Normal file
View File

@ -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}

View File

@ -0,0 +1,8 @@
#
# $FreeBSD$
#
BOARD= BEAGLEBONE
build-arm-${BOARD:tl}:
touch ${.TARGET}

View File

@ -0,0 +1,8 @@
#
# $FreeBSD$
#
BOARD= PANDABOARD
build-arm-${BOARD:tl}:
touch ${.TARGET}

View File

@ -0,0 +1,8 @@
#
# $FreeBSD$
#
BOARD= RPI-B
build-arm-${BOARD:tl}:
touch ${.TARGET}

View File

@ -0,0 +1,8 @@
#
# $FreeBSD$
#
BOARD= WANDBOARD-QUAD
build-arm-${BOARD:tl}:
touch ${.TARGET}

View File

@ -0,0 +1,8 @@
#
# $FreeBSD$
#
BOARD= ZEDBOARD
build-arm-${BOARD:tl}:
touch ${.TARGET}