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:
parent
20a67b0520
commit
86be889b61
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user