Move the 'build-arm-ports${BOARD}' within the for loop

to fix target/variable expansion.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-03-25 23:24:05 +00:00
parent e6e746bfb0
commit 67a7660de3

View File

@ -30,11 +30,6 @@ CLEANFILES+= arm-${BOARD:tu}.img \
arm-${BOARD:tl}:
${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} build-${.TARGET}
. endfor
.endif # !WITH_ARM_IMAGES
arm-all: ${ARMTARGETS}
touch ${.TARGET}
build-arm-ports${BOARD:tl}:
.if defined(ARMPORTS) && !empty(ARMPORTS)
@ -46,3 +41,8 @@ build-arm-ports${BOARD:tl}:
. endfor
.endif
touch ${.TARGET}
. endfor
.endif # !WITH_ARM_IMAGES
arm-all: ${ARMTARGETS}
touch ${.TARGET}