diff options
author | Glen Barber <gjb@FreeBSD.org> | 2015-02-11 20:25:21 +0000 |
---|---|---|
committer | Glen Barber <gjb@FreeBSD.org> | 2015-02-11 20:25:21 +0000 |
commit | d8d0f3dc202282d964c153cee3e7831f8c108f4a (patch) | |
tree | 94c39cc57b91b1025df1ccb42e851ee74125c41c /release/Makefile.arm | |
parent | 53f2fbcab4ca497c4bed5e5728534468e2b9e992 (diff) | |
download | src-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/Makefile.arm')
-rw-r--r-- | release/Makefile.arm | 36 |
1 files changed, 36 insertions, 0 deletions
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} |