diff options
author | Glen Barber <gjb@FreeBSD.org> | 2015-05-06 15:58:21 +0000 |
---|---|---|
committer | Glen Barber <gjb@FreeBSD.org> | 2015-05-06 15:58:21 +0000 |
commit | cf582ac56f75c9db1242ef354d30202759f7b875 (patch) | |
tree | 99b7bcd33082d7a0fb2706244dd8e6b05c9f772c /release/arm/RPI-B.conf | |
parent | a03128832c6c71a3544f1c5ef0b15a17122c8f51 (diff) | |
download | src-cf582ac56f75c9db1242ef354d30202759f7b875.tar.gz src-cf582ac56f75c9db1242ef354d30202759f7b875.zip |
Update the arm/*.conf configuration files to only set
EMBEDDEDBUILD, EMBEDDED_TARGET, EMBEDDED_TARGET_ARCH,
EMBEDDEDPORTS, and KERNEL.
In release.sh, set TARGET and TARGET_ARCH to the
EMBEDDED_* variants from the configuration file.
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/projects/release-arm-redux/; revision=282554
Diffstat (limited to 'release/arm/RPI-B.conf')
-rw-r--r-- | release/arm/RPI-B.conf | 40 |
1 files changed, 5 insertions, 35 deletions
diff --git a/release/arm/RPI-B.conf b/release/arm/RPI-B.conf index aae60c9831a9..28562c15a1f5 100644 --- a/release/arm/RPI-B.conf +++ b/release/arm/RPI-B.conf @@ -3,38 +3,8 @@ # $FreeBSD$ # -# Global variables. -export SVNROOT="svn://svn.FreeBSD.org/" -export SRCBRANCH="base/head@rHEAD" -export DOCBRANCH="doc/head@rHEAD" -export PORTBRANCH="ports/head@rHEAD" -export NODOC=yes -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 EMBEDDEDPORTS="lang/python textproc/gsed" - -# Build chroot configuration -load_chroot_env() { - # Avoid collision with TARGET and XDEV. - unset XDEV XDEV_ARCH KERNEL - export TARGET="amd64" - export TARGET_ARCH="amd64" -} - -# Build target configuration -load_target_env() { - # Avoid collision with TARGET and XDEV. - unset TARGET TARGET_ARCH - export XDEV="arm" - export XDEV_ARCH="armv6" - export XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1" - export XDEV_FLAGS="${XDEV_FLAGS} MK_TESTS=no" - export KERNEL="RPI-B" - export CROCHETSRC="https://github.com/freebsd/crochet" - export CROCHETBRANCH="trunk@rHEAD" - export UBOOTSRC="https://github.com/gonzoua/u-boot-pi" - export UBOOTBRANCH="trunk" - export UBOOTDIR="/tmp/crochet/u-boot-rpi" -} +EMBEDDEDBUILD=1 +EMBEDDED_TARGET="arm" +EMBEDDED_TARGET_ARCH="armv6" +EMBEDDEDPORTS="sysutils/u-boot-rpi" +KERNEL="RPI-B" |