aboutsummaryrefslogtreecommitdiff
path: root/etc/bootstrap/bbot-bootstrap-freebsd.sh
blob: 8a86696867308222756d2f549483bc5348918d93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# file      : etc/bootstrap/bbot-bootstrap-freebsd.sh
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license   : TBC; see accompanying LICENSE file

# Note: install GNU make with 'pkg install gmake'.
#

if ! jobs="$(sysctl -n hw.ncpu)"; then
  jobs=1
fi

"$(dirname "$0")/bbot-bootstrap.sh" \
  --make gmake     \
  --make "-j$jobs" \
  "$@"