diff options
author | gjb <gjb@FreeBSD.org> | 2015-05-05 16:37:59 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2015-05-05 16:37:59 +0000 |
commit | fcd4d834e595a5135bde068c7d8773d4c38b902d (patch) | |
tree | d290891f1d51624a28417da25fba0861a1bba3c0 /release/arm | |
parent | 0f66edf8be01f74ac022eadb471b253aa185f101 (diff) | |
download | FreeBSD-src-fcd4d834e595a5135bde068c7d8773d4c38b902d.zip FreeBSD-src-fcd4d834e595a5135bde068c7d8773d4c38b902d.tar.gz |
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
Diffstat (limited to 'release/arm')
-rw-r--r-- | release/arm/RPI2.conf | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/release/arm/RPI2.conf b/release/arm/RPI2.conf index 5cf31ff..bb8ebe9 100644 --- a/release/arm/RPI2.conf +++ b/release/arm/RPI2.conf @@ -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 -} - |