svn commit: r282501 - head/release/arm

Glen Barber gjb at FreeBSD.org
Tue May 5 16:38:00 UTC 2015


Author: gjb
Date: Tue May  5 16:37:59 2015
New Revision: 282501
URL: https://svnweb.freebsd.org/changeset/base/282501

Log:
  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

Modified:
  head/release/arm/RPI2.conf

Modified: head/release/arm/RPI2.conf
==============================================================================
--- head/release/arm/RPI2.conf	Tue May  5 16:28:04 2015	(r282500)
+++ head/release/arm/RPI2.conf	Tue May  5 16:37:59 2015	(r282501)
@@ -13,7 +13,7 @@ export WORLD_FLAGS="-j $(sysctl -n hw.nc
 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 at 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
-}
-


More information about the svn-src-all mailing list