1#!/bin/sh 2# 3# $FreeBSD$ 4# 5 6## Set the directory within which the release will be built. 7CHROOTDIR="/scratch" 8 9## Set the svn host. 10SVNROOT="svn://svn.FreeBSD.org/" 11 12## Set the src/, ports/, and doc/ branches or tags. 13SRCBRANCH="base/head@rHEAD" 14DOCBRANCH="doc/head@rHEAD" 15PORTBRANCH="ports/head@rHEAD" 16 17## Run svn co --force for src checkout. 18#SRC_FORCE_CHECKOUT=yes 19 20## Sample configuration for using git instead of svn. 21#VCSCMD="/usr/local/bin/git clone --branch master" 22#SVNROOT="" 23#SRCBRANCH="https://github.com/freebsd/freebsd" 24#DOCBRANCH="https://github.com/freebsd/freebsd-doc" 25#PORTBRANCH="https://github.com/freebsd/freebsd-ports" 26 27## Set to override the default target architecture. 28#TARGET="amd64" 29#TARGET_ARCH="amd64" 30#KERNEL="GENERIC" 31## Multiple kernels may be set. 32#KERNEL="GENERIC XENHVM" 33 34## Set to specify a custom make.conf and/or src.conf 35#MAKE_CONF="/etc/local/make.conf" 36#SRC_CONF="/etc/local/src.conf" 37 38## Set to use make(1) flags. 39#MAKE_FLAGS="-s" 40 41## Set to use world- and kernel-specific make(1) flags. 42#WORLD_FLAGS="-j $(sysctl -n hw.ncpu)" 43#KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))" 44 45## Set miscellaneous 'make release' settings. 46#NODOC= 47#NOPORTS= 48#WITH_DVD= 49 50## Set when building embedded images. 51#EMBEDDEDBUILD= 52 53## Set to skip the chroot environment buildworld/installworld/distribution 54## step if it is expected the build environment will exist via alternate 55## means. 56#CHROOTBUILD_SKIP= 57 58## Set to pass additional flags to make(1) for the build chroot setup, such 59## as TARGET/TARGET_ARCH. 60#CHROOT_MAKEENV= 61 62