Remove buildenv_setup(), and set EMBEDDEDPORTS to the

sysutils/u-boot-rpi2 port, since these cases are already
handled by arm/release.sh.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-05-05 16:37:59 +00:00
parent 20a67b0520
commit 86be889b61
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282501

View File

@ -13,7 +13,7 @@ export WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
export KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
export CHROOTDIR="/scratch"
export EMBEDDEDBUILD=1
export UBOOT_PORT="sysutils/u-boot-rpi2"
export EMBEDDEDPORTS="sysutils/u-boot-rpi2"
# Build chroot configuration
load_chroot_env() {
@ -36,18 +36,3 @@ load_target_env() {
export CROCHETBRANCH="trunk@rHEAD"
}
# Build environment setup
buildenv_setup() {
if [ ! -d ${CHROOTDIR}/usr/ports/${UBOOT_PORT} ]; then
chroot ${CHROOTDIR} env ASSUME_ALWAYS_YES=yes \
/usr/sbin/pkg bootstrap -y
chroot ${CHROOTDIR} env ASSUME_ALWAYS_YES=yes \
/usr/sbin/pkg install -y ${UBOOT_PORT}
else
chroot ${CHROOTDIR} env BATCH=1 \
make -C /usr/ports/${UBOOT_PORT} \
all install clean
fi
return 0
}