svn commit: r269554 - projects/release-noxdev/release/arm
Glen Barber
gjb at FreeBSD.org
Tue Aug 5 01:47:08 UTC 2014
Author: gjb
Date: Tue Aug 5 01:47:07 2014
New Revision: 269554
URL: http://svnweb.freebsd.org/changeset/base/269554
Log:
Redefine load_chroot_env() and load_target_env() in
the arm/*.conf files, and reindent.
Sponsored by: The FreeBSD Foundation
Modified:
projects/release-noxdev/release/arm/BEAGLEBONE.conf
projects/release-noxdev/release/arm/PANDABOARD.conf
projects/release-noxdev/release/arm/RPI-B.conf
projects/release-noxdev/release/arm/WANDBOARD-QUAD.conf
projects/release-noxdev/release/arm/ZEDBOARD.conf
Modified: projects/release-noxdev/release/arm/BEAGLEBONE.conf
==============================================================================
--- projects/release-noxdev/release/arm/BEAGLEBONE.conf Tue Aug 5 01:44:21 2014 (r269553)
+++ projects/release-noxdev/release/arm/BEAGLEBONE.conf Tue Aug 5 01:47:07 2014 (r269554)
@@ -4,28 +4,31 @@
#
# Build chroot configuration
-TARGET="amd64"
-TARGET_ARCH="amd64"
-SVNROOT="svn://svn.FreeBSD.org/"
-SRCBRANCH="base/head at rHEAD"
-DOCBRANCH="doc/head at rHEAD"
-PORTBRANCH="ports/head at rHEAD"
-NODOC=yes
+load_chroot_env() {
+ TARGET="amd64"
+ TARGET_ARCH="amd64"
+ SVNROOT="svn://svn.FreeBSD.org/"
+ SRCBRANCH="base/head at rHEAD"
+ DOCBRANCH="doc/head at rHEAD"
+ PORTBRANCH="ports/head at rHEAD"
+ NODOC=yes
+}
# Build target configuration
-# Since this file is sourced by a script that runs another
-# script, these must be exported.
-set -a
-WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
-KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
-CHROOTDIR="/scratch"
-EMBEDDEDBUILD=1
-EMBEDDEDPORTS="lang/python textproc/gsed"
-XDEV="arm"
-XDEV_ARCH="armv6"
-XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1"
-KERNEL="BEAGLEBONE"
-CROCHETSRC="https://github.com/kientzle/crochet-freebsd"
-CROCHETBRANCH="trunk"
-set +a
-
+load_target_env() {
+ # Since this file is sourced by a script that runs another
+ # script, these must be exported.
+ set -a
+ WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
+ KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
+ CHROOTDIR="/scratch"
+ EMBEDDEDBUILD=1
+ EMBEDDEDPORTS="lang/python textproc/gsed"
+ XDEV="arm"
+ XDEV_ARCH="armv6"
+ XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1"
+ KERNEL="BEAGLEBONE"
+ CROCHETSRC="https://github.com/kientzle/crochet-freebsd"
+ CROCHETBRANCH="trunk"
+ set +a
+}
Modified: projects/release-noxdev/release/arm/PANDABOARD.conf
==============================================================================
--- projects/release-noxdev/release/arm/PANDABOARD.conf Tue Aug 5 01:44:21 2014 (r269553)
+++ projects/release-noxdev/release/arm/PANDABOARD.conf Tue Aug 5 01:47:07 2014 (r269554)
@@ -4,28 +4,31 @@
#
# Build chroot configuration
-TARGET="amd64"
-TARGET_ARCH="amd64"
-SVNROOT="svn://svn.FreeBSD.org/"
-SRCBRANCH="base/head at rHEAD"
-DOCBRANCH="doc/head at rHEAD"
-PORTBRANCH="ports/head at rHEAD"
-NODOC=yes
+load_chroot_env() {
+ TARGET="amd64"
+ TARGET_ARCH="amd64"
+ SVNROOT="svn://svn.FreeBSD.org/"
+ SRCBRANCH="base/head at rHEAD"
+ DOCBRANCH="doc/head at rHEAD"
+ PORTBRANCH="ports/head at rHEAD"
+ NODOC=yes
+}
# Build target configuration
-# Since this file is sourced by a script that runs another
-# script, these must be exported.
-set -a
-WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
-KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
-CHROOTDIR="/scratch"
-EMBEDDEDBUILD=1
-EMBEDDEDPORTS="lang/python textproc/gsed"
-XDEV="arm"
-XDEV_ARCH="armv6"
-XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1"
-KERNEL="PANDABOARD"
-CROCHETSRC="https://github.com/kientzle/crochet-freebsd"
-CROCHETBRANCH="trunk"
-set +a
-
+load_target_env() {
+ # Since this file is sourced by a script that runs another
+ # script, these must be exported.
+ set -a
+ WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
+ KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
+ CHROOTDIR="/scratch"
+ EMBEDDEDBUILD=1
+ EMBEDDEDPORTS="lang/python textproc/gsed"
+ XDEV="arm"
+ XDEV_ARCH="armv6"
+ XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1"
+ KERNEL="PANDABOARD"
+ CROCHETSRC="https://github.com/kientzle/crochet-freebsd"
+ CROCHETBRANCH="trunk"
+ set +a
+}
Modified: projects/release-noxdev/release/arm/RPI-B.conf
==============================================================================
--- projects/release-noxdev/release/arm/RPI-B.conf Tue Aug 5 01:44:21 2014 (r269553)
+++ projects/release-noxdev/release/arm/RPI-B.conf Tue Aug 5 01:47:07 2014 (r269554)
@@ -4,30 +4,34 @@
#
# Build chroot configuration
-TARGET="amd64"
-TARGET_ARCH="amd64"
-SVNROOT="svn://svn.FreeBSD.org/"
-SRCBRANCH="base/head at rHEAD"
-DOCBRANCH="doc/head at rHEAD"
-PORTBRANCH="ports/head at rHEAD"
-NODOC=yes
+load_chroot_env() {
+ TARGET="amd64"
+ TARGET_ARCH="amd64"
+ SVNROOT="svn://svn.FreeBSD.org/"
+ SRCBRANCH="base/head at rHEAD"
+ DOCBRANCH="doc/head at rHEAD"
+ PORTBRANCH="ports/head at rHEAD"
+ NODOC=yes
+}
# Build target configuration
-# Since this file is sourced by a script that runs another
-# script, these must be exported.
-set -a
-WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
-KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
-CHROOTDIR="/scratch"
-EMBEDDEDBUILD=1
-EMBEDDEDPORTS="lang/python textproc/gsed"
-XDEV="arm"
-XDEV_ARCH="armv6"
-XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1"
-KERNEL="RPI-B"
-CROCHETSRC="https://github.com/kientzle/crochet-freebsd"
-CROCHETBRANCH="trunk"
-UBOOTSRC="https://github.com/gonzoua/u-boot-pi"
-UBOOTBRANCH="trunk"
-UBOOTDIR="/tmp/crochet/u-boot-rpi"
-set +a
+load_target_env() {
+ # Since this file is sourced by a script that runs another
+ # script, these must be exported.
+ set -a
+ WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
+ KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
+ CHROOTDIR="/scratch"
+ EMBEDDEDBUILD=1
+ EMBEDDEDPORTS="lang/python textproc/gsed"
+ XDEV="arm"
+ XDEV_ARCH="armv6"
+ XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1"
+ KERNEL="RPI-B"
+ CROCHETSRC="https://github.com/kientzle/crochet-freebsd"
+ CROCHETBRANCH="trunk"
+ UBOOTSRC="https://github.com/gonzoua/u-boot-pi"
+ UBOOTBRANCH="trunk"
+ UBOOTDIR="/tmp/crochet/u-boot-rpi"
+ set +a
+}
Modified: projects/release-noxdev/release/arm/WANDBOARD-QUAD.conf
==============================================================================
--- projects/release-noxdev/release/arm/WANDBOARD-QUAD.conf Tue Aug 5 01:44:21 2014 (r269553)
+++ projects/release-noxdev/release/arm/WANDBOARD-QUAD.conf Tue Aug 5 01:47:07 2014 (r269554)
@@ -4,28 +4,31 @@
#
# Build chroot configuration
-TARGET="amd64"
-TARGET_ARCH="amd64"
-SVNROOT="svn://svn.FreeBSD.org/"
-SRCBRANCH="base/head at rHEAD"
-DOCBRANCH="doc/head at rHEAD"
-PORTBRANCH="ports/head at rHEAD"
-NODOC=yes
+load_chroot_env() {
+ TARGET="amd64"
+ TARGET_ARCH="amd64"
+ SVNROOT="svn://svn.FreeBSD.org/"
+ SRCBRANCH="base/head at rHEAD"
+ DOCBRANCH="doc/head at rHEAD"
+ PORTBRANCH="ports/head at rHEAD"
+ NODOC=yes
+}
# Build target configuration
-# Since this file is sourced by a script that runs another
-# script, these must be exported.
-set -a
-WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
-KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
-CHROOTDIR="/scratch"
-EMBEDDEDBUILD=1
-EMBEDDEDPORTS="lang/python textproc/gsed"
-XDEV="arm"
-XDEV_ARCH="armv6"
-XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1"
-KERNEL="WANDBOARD-QUAD"
-CROCHETSRC="https://github.com/kientzle/crochet-freebsd"
-CROCHETBRANCH="trunk"
-set +a
-
+load_target_env() {
+ # Since this file is sourced by a script that runs another
+ # script, these must be exported.
+ set -a
+ WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
+ KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
+ CHROOTDIR="/scratch"
+ EMBEDDEDBUILD=1
+ EMBEDDEDPORTS="lang/python textproc/gsed"
+ XDEV="arm"
+ XDEV_ARCH="armv6"
+ XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1"
+ KERNEL="WANDBOARD-QUAD"
+ CROCHETSRC="https://github.com/kientzle/crochet-freebsd"
+ CROCHETBRANCH="trunk"
+ set +a
+}
Modified: projects/release-noxdev/release/arm/ZEDBOARD.conf
==============================================================================
--- projects/release-noxdev/release/arm/ZEDBOARD.conf Tue Aug 5 01:44:21 2014 (r269553)
+++ projects/release-noxdev/release/arm/ZEDBOARD.conf Tue Aug 5 01:47:07 2014 (r269554)
@@ -4,27 +4,30 @@
#
# Build chroot configuration
-TARGET="amd64"
-TARGET_ARCH="amd64"
-SVNROOT="svn://svn.FreeBSD.org/"
-SRCBRANCH="base/head at rHEAD"
-DOCBRANCH="doc/head at rHEAD"
-PORTBRANCH="ports/head at rHEAD"
-NODOC=yes
+load_chroot_env() {
+ TARGET="amd64"
+ TARGET_ARCH="amd64"
+ SVNROOT="svn://svn.FreeBSD.org/"
+ SRCBRANCH="base/head at rHEAD"
+ DOCBRANCH="doc/head at rHEAD"
+ PORTBRANCH="ports/head at rHEAD"
+ NODOC=yes
+}
# Build target configuration
-# Since this file is sourced by a script that runs another
-# script, these must be exported.
-set -a
-WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
-KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
-CHROOTDIR="/scratch"
-EMBEDDEDBUILD=1
-XDEV="arm"
-XDEV_ARCH="armv6"
-XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1"
-KERNEL="ZEDBOARD"
-CROCHETSRC="https://github.com/kientzle/crochet-freebsd"
-CROCHETBRANCH="trunk"
-set +a
-
+load_target_env() {
+ # Since this file is sourced by a script that runs another
+ # script, these must be exported.
+ set -a
+ WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
+ KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
+ CHROOTDIR="/scratch"
+ EMBEDDEDBUILD=1
+ XDEV="arm"
+ XDEV_ARCH="armv6"
+ XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1"
+ KERNEL="ZEDBOARD"
+ CROCHETSRC="https://github.com/kientzle/crochet-freebsd"
+ CROCHETBRANCH="trunk"
+ set +a
+}
More information about the svn-src-projects
mailing list