diff options
author | Renato Botelho <renato@netgate.com> | 2016-08-01 17:40:51 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-08-01 17:40:51 -0300 |
commit | 8928c11948a8df3eb68149a7375945840e50819d (patch) | |
tree | dd89788581ac67158281a86770ca6eaf60a99181 /build | |
parent | 5fa6aecca427b09a3d9f63be96e455915f2f2d35 (diff) | |
download | pfsense-8928c11948a8df3eb68149a7375945840e50819d.zip pfsense-8928c11948a8df3eb68149a7375945840e50819d.tar.gz |
Do not check for src versus host osversion, let FreeBSD src take care of it
Diffstat (limited to 'build')
-rwxr-xr-x | build/scripts/build_freebsd.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/build/scripts/build_freebsd.sh b/build/scripts/build_freebsd.sh index 3c12453..e15c920 100755 --- a/build/scripts/build_freebsd.sh +++ b/build/scripts/build_freebsd.sh @@ -95,16 +95,6 @@ done [ ! -f ${srcdir}/sys/sys/param.h ] \ && err "Source directory is missing sys/sys/param.h" -host_osversion=$(sysctl -n kern.osreldate) -src_osversion=$(awk '/^\#define[[:blank:]]__FreeBSD_version/ {print $3}' \ - ${srcdir}/sys/sys/param.h) - -[ -z "${src_osversion}" -o -z "${host_osversion}" ] \ - && err "error obtaining host or src osversion" - -[ $src_osversion -gt $host_osversion ] \ - && err "src osversion (${src_osversion}) is bigger than host osversion (${host_osversion})" - ncpu=$(sysctl -n hw.ncpu) njobs=$((ncpu*2)) j="-j${njobs}" |