Export WORLD_FLAGS and KERNEL_FLAGS for buildworld/buildkernel.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
0dc54b44a8
commit
7bcf52bd4d
@ -23,6 +23,8 @@ NODOC=yes
|
||||
# Since this file is sourced by a script that runs another
|
||||
# script, these must be exported.
|
||||
set -a
|
||||
WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
|
||||
KERNEL_FLAGS="-j $(expr \( $(sysctl -n hw.ncpu) + 1 \) / 2)"
|
||||
CHROOTDIR="/scratch"
|
||||
EMBEDDEDBUILD=1
|
||||
EMBEDDEDPORTS="lang/python textproc/gsed"
|
||||
|
@ -23,6 +23,8 @@ NODOC=yes
|
||||
# Since this file is sourced by a script that runs another
|
||||
# script, these must be exported.
|
||||
set -a
|
||||
WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
|
||||
KERNEL_FLAGS="-j $(expr \( $(sysctl -n hw.ncpu) + 1 \) / 2)"
|
||||
CHROOTDIR="/scratch"
|
||||
EMBEDDEDBUILD=1
|
||||
EMBEDDEDPORTS="lang/python textproc/gsed"
|
||||
|
@ -23,6 +23,8 @@ NODOC=yes
|
||||
# Since this file is sourced by a script that runs another
|
||||
# script, these must be exported.
|
||||
set -a
|
||||
WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
|
||||
KERNEL_FLAGS="-j $(expr \( $(sysctl -n hw.ncpu) + 1 \) / 2)"
|
||||
CHROOTDIR="/scratch"
|
||||
EMBEDDEDBUILD=1
|
||||
EMBEDDEDPORTS="lang/python textproc/gsed"
|
||||
|
@ -19,9 +19,9 @@ _REVISION=$(make -C ${FREEBSD_SRC}/release -V REVISION)
|
||||
KERNCONF=BEAGLEBONE
|
||||
TARGET=arm
|
||||
TARGET_ARCH=armv6
|
||||
FREEBSD_BUILDWORLD_EXTRA_ARGS=""
|
||||
FREEBSD_BUILDWORLD_EXTRA_ARGS="${WORLD_FLAGS}"
|
||||
FREEBSD_BUILDKERNEL_EXTRA_ARGS="${KERNEL_FLAGS}"
|
||||
FREEBSD_INSTALLWORLD_EXTRA_ARGS=""
|
||||
FREEBSD_BUILDKERNEL_EXTRA_ARGS=""
|
||||
FREEBSD_INSTALLKERNEL_EXTRA_ARGS=""
|
||||
FREEBSD_WORLD_EXTRA_ARGS=""
|
||||
FREEBSD_KERNEL_EXTRA_ARGS=""
|
||||
|
@ -19,9 +19,9 @@ _REVISION=$(make -C ${FREEBSD_SRC}/release -V REVISION)
|
||||
KERNCONF=PANDABOARD
|
||||
TARGET=arm
|
||||
TARGET_ARCH=armv6
|
||||
FREEBSD_BUILDWORLD_EXTRA_ARGS=""
|
||||
FREEBSD_BUILDWORLD_EXTRA_ARGS="${WORLD_FLAGS}"
|
||||
FREEBSD_BUILDKERNEL_EXTRA_ARGS="${KERNEL_FLAGS}"
|
||||
FREEBSD_INSTALLWORLD_EXTRA_ARGS=""
|
||||
FREEBSD_BUILDKERNEL_EXTRA_ARGS=""
|
||||
FREEBSD_INSTALLKERNEL_EXTRA_ARGS=""
|
||||
FREEBSD_WORLD_EXTRA_ARGS=""
|
||||
FREEBSD_KERNEL_EXTRA_ARGS=""
|
||||
|
@ -19,9 +19,9 @@ _REVISION=$(make -C ${FREEBSD_SRC}/release -V REVISION)
|
||||
KERNCONF=RPI-B
|
||||
TARGET=arm
|
||||
TARGET_ARCH=armv6
|
||||
FREEBSD_BUILDWORLD_EXTRA_ARGS=""
|
||||
FREEBSD_BUILDWORLD_EXTRA_ARGS="${WORLD_FLAGS}"
|
||||
FREEBSD_BUILDKERNEL_EXTRA_ARGS="${KERNEL_FLAGS}"
|
||||
FREEBSD_INSTALLWORLD_EXTRA_ARGS=""
|
||||
FREEBSD_BUILDKERNEL_EXTRA_ARGS=""
|
||||
FREEBSD_INSTALLKERNEL_EXTRA_ARGS=""
|
||||
FREEBSD_WORLD_EXTRA_ARGS=""
|
||||
FREEBSD_KERNEL_EXTRA_ARGS=""
|
||||
|
Loading…
Reference in New Issue
Block a user