mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
a1020436ea
allow the toolchain to detect the correct values. - Remove {SRC,DOC,PORT}REVISION variables, and use 'branch@rNNNNNN' as the {SRC,DOC,PORT}BRANCH variables. - Only set default KERNEL_FLAGS and WORLD_FLAGS make(1) jobs if the number of CPUs is greater than 1. Submitted by: hrs
42 lines
923 B
Bash
42 lines
923 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
## Set the directory within which the release will be built.
|
|
CHROOTDIR="/scratch"
|
|
|
|
## Set the svn host.
|
|
SVNROOT="svn://svn.FreeBSD.org"
|
|
|
|
## Set the src/, ports/, and doc/ branches or tags.
|
|
SRCBRANCH="base/head@rHEAD"
|
|
DOCBRANCH="doc/head@rHEAD"
|
|
PORTBRANCH="ports/head@rHEAD"
|
|
|
|
## Run svn co --force for src checkout.
|
|
#SRC_FORCE_CHECKOUT=yes
|
|
|
|
## Set to override the default target architecture.
|
|
#TARGET="amd64"
|
|
#TARGET_ARCH="amd64"
|
|
#KERNEL="GENERIC"
|
|
## Multiple kernels may be set.
|
|
#KERNEL="GENERIC XENHVM"
|
|
|
|
## Set to specify a custom make.conf and/or src.conf
|
|
#MAKE_CONF="/etc/local/make.conf"
|
|
#SRC_CONF="/etc/local/src.conf"
|
|
|
|
## Set to use make(1) flags.
|
|
#MAKE_FLAGS="-s"
|
|
|
|
## Set to use world- and kernel-specific make(1) flags.
|
|
#WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
|
|
#KERNEL_FLAGS="-j $(expr $(sysctl -n hw.ncpu) / 2)"
|
|
|
|
## Set miscellaneous 'make release' settings.
|
|
#NODOC=
|
|
#NOPORTS=
|
|
#RELSTRING=
|