3d6c89b2d6
the src/ tree into a directory that contains files/directories, such as a case where a custom kernel configuration file is specified. - Allow specification of multiple KERNCONFs to pass to 'make release'. - Move evaluation of NODOCS/NOPORTS earlier, and set based on how the release process expects these options to be evaluated. - Wrap KERNCONF specification in double quotes, and use 'eval' so multiple kernel configurations do not cause the build to fail in strange ways. - Set WITHOUT_X11 for the port build flags for the documentation toolchain build. Also run 'clean distclean' targets during port build. PR: 180192 Submitted by: Anes Mukhametov MFC after: 3 days Approved by: kib (mentor, implicit)
47 lines
1015 B
Bash
47 lines
1015 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"
|
|
DOCBRANCH="doc/head"
|
|
PORTBRANCH="ports/head"
|
|
|
|
## Run svn co --force for src checkout.
|
|
#SRC_FORCE_CHECKOUT=yes
|
|
|
|
## Set the src/, ports/, and doc/ revisions.
|
|
SRCREVISION="-rHEAD"
|
|
DOCREVISION="-rHEAD"
|
|
PORTREVISION="-rHEAD"
|
|
|
|
## 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=
|