Initial restructure for FreeBSD/arm release builds.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
53f2fbcab4
commit
d8d0f3dc20
@ -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
36
release/Makefile.arm
Normal 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}
|
8
release/arm/Makefile.BEAGLEBONE
Normal file
8
release/arm/Makefile.BEAGLEBONE
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
BOARD= BEAGLEBONE
|
||||
|
||||
build-arm-${BOARD:tl}:
|
||||
touch ${.TARGET}
|
8
release/arm/Makefile.PANDABOARD
Normal file
8
release/arm/Makefile.PANDABOARD
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
BOARD= PANDABOARD
|
||||
|
||||
build-arm-${BOARD:tl}:
|
||||
touch ${.TARGET}
|
8
release/arm/Makefile.RPI-B
Normal file
8
release/arm/Makefile.RPI-B
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
BOARD= RPI-B
|
||||
|
||||
build-arm-${BOARD:tl}:
|
||||
touch ${.TARGET}
|
8
release/arm/Makefile.WANDBOARD-QUAD
Normal file
8
release/arm/Makefile.WANDBOARD-QUAD
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
BOARD= WANDBOARD-QUAD
|
||||
|
||||
build-arm-${BOARD:tl}:
|
||||
touch ${.TARGET}
|
8
release/arm/Makefile.ZEDBOARD
Normal file
8
release/arm/Makefile.ZEDBOARD
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
BOARD= ZEDBOARD
|
||||
|
||||
build-arm-${BOARD:tl}:
|
||||
touch ${.TARGET}
|
Loading…
x
Reference in New Issue
Block a user