-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNetBSD.conf
41 lines (34 loc) · 1.24 KB
/
NetBSD.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# System-wide configuration file for sysbuild(1).
#
# This default configuration file tells sysbuild to use the source trees from
# the standard locations documented by hier(7) and allows any user to easily
# perform NetBSD builds on their home directories using those.
# Place all build files in the user's home directory.
BUILD_ROOT="${HOME}/sysbuild"
# Store release files relative to the build root.
RELEASEDIR="${BUILD_ROOT}/release"
# Use the standard source trees as documented by hier(7), and honor if the
# system has X installed or not.
SRCDIR="/usr/src"
[ ! -f /etc/mtree/set.xbase ] || XSRCDIR="/usr/xsrc"
# Build for the current machine only.
MACHINES="$(uname -m)"
# What to build for every machine.
BUILD_TARGETS="release"
# Do not perform update builds by default.
INCREMENTAL_BUILD="no"
# Determine the CVS root and the current release.
SCM="git"
if [ -f "${SRCDIR}/CVS/Root" ]; then
CVSROOT="$(cat ${SRCDIR}/CVS/Root)"
else
CVSROOT=":ext:[email protected]:/cvsroot"
fi
if [ -f "${SRCDIR}/CVS/Tag" ]; then
CVSTAG="$(sed -e 's,^T,,' ${SRCDIR}/CVS/Tag)"
else
if ! head -n 1 /etc/release | grep 99 >/dev/null; then
CVSTAG="$(head -n 1 /etc/release | cut -d . -f 1 \
| tr '[A-Z] ' '[a-z]-')"
fi
fi