Attempt to create the final image (though not nearly ready
for it yet). This is probably very broken and/or wrong, but that's why we have projects branches. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
6c5e58750c
commit
6d81f38c6a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/release-arm-redux/; revision=280655
@ -98,6 +98,22 @@ arm-mkfs${BOARD:tl}:
|
||||
${.OBJDIR}/arm-${BOARD:tl}-boot
|
||||
.endif
|
||||
|
||||
arm-mkimage${BOARD:tl}:
|
||||
.if exists(/dev/$$(cat ${.OBJDIR}/${${BOARD:tu}BOOTDEV})
|
||||
umount ${.OBJDIR}/arm-${BOARD:tl}-boot
|
||||
.endif
|
||||
.if exists(/dev/$$(cat ${.OBJDIR}/${${BOARD:tu}MDDEV})
|
||||
umount ${.OBJDIR}/arm-${BOARD:tl}
|
||||
.endif
|
||||
# FIXME:
|
||||
# Do these things need to be MBR?
|
||||
# I'm also not entirely sure this is correct, anyway.
|
||||
#
|
||||
mkimg -s ${${BOARD}PARTSCHEME} \
|
||||
-b ${${BOARD:tu}BOOTFILE} \
|
||||
-p freebsd/rootfs:=${${BOARD:tu}MDFILE} \
|
||||
-o ${${BOARD:tu}IMAGE}
|
||||
|
||||
build-arm-ports${BOARD:tl}:
|
||||
. if defined(ARMPORTS) && !empty(ARMPORTS)
|
||||
. if !exists(${PORTSDIR}/Makefile)
|
||||
|
@ -3,6 +3,7 @@
|
||||
#
|
||||
|
||||
BOARD= BEAGLEBONE
|
||||
${BOARD}PARTSCHEME= mbr
|
||||
ARMPORTS= sysutils/u-boot-beaglebone
|
||||
|
||||
build-arm-${BOARD:tl}: build-arm-ports${BOARD:tl}
|
||||
|
@ -3,6 +3,7 @@
|
||||
#
|
||||
|
||||
BOARD= PANDABOARD
|
||||
${BOARD}PARTSCHEME= mbr
|
||||
|
||||
build-arm-${BOARD:tl}:
|
||||
touch ${.TARGET}
|
||||
|
@ -3,6 +3,7 @@
|
||||
#
|
||||
|
||||
BOARD= RPI-B
|
||||
${BOARD}PARTSCHEME= mbr
|
||||
ARMPORTS= sysutils/u-boot-rpi
|
||||
|
||||
build-arm-${BOARD:tl}: build-arm-ports${BOARD:tl}
|
||||
|
@ -3,6 +3,7 @@
|
||||
#
|
||||
|
||||
BOARD= WANDBOARD-QUAD
|
||||
${BOARD}PARTSCHEME= mbr
|
||||
ARMPORTS= sysutils/u-boot-wandboard
|
||||
|
||||
build-arm-${BOARD:tl}: build-arm-ports${BOARD:tl}
|
||||
|
@ -3,6 +3,7 @@
|
||||
#
|
||||
|
||||
BOARD= ZEDBOARD
|
||||
${BOARD}PARTSCHEME= mbr
|
||||
|
||||
build-arm-${BOARD:tl}:
|
||||
touch ${.TARGET}
|
||||
|
Loading…
Reference in New Issue
Block a user