5 # This is only supported on amd64 right now. It may work on
6 # i386, but I do not have the hardware to test, so until I get
7 # a VM set up to make sure, be cautious and assume it will not.
8 if [ "$(uname -p)" != "amd64" ] || [ "$(uname -m)" != "amd64" ]; then
9 echo "This is only supported on amd64 right now."
13 # Build chroot configuration
16 SVNROOT="svn://svn.FreeBSD.org/"
17 SRCBRANCH="base/stable/10@rHEAD"
18 DOCBRANCH="doc/head@rHEAD"
19 PORTBRANCH="ports/head@rHEAD"
22 # Build target configuration
23 # Since this file is sourced by a script that runs another
24 # script, these must be exported.
26 WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
27 KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
30 EMBEDDEDPORTS="lang/python textproc/gsed"
34 CROCHETSRC="https://github.com/kientzle/crochet-freebsd"
36 UBOOTSRC="https://github.com/gonzoua/u-boot-pi"
38 UBOOTDIR="/tmp/crochet/u-boot-rpi"