release: do not set __MAKE_CONF and SRCCONF for the chroot build
PR: 254319 Submitted by: truckman MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
c244b1d8a3
commit
0af8a2db34
@ -171,6 +171,7 @@ env_check() {
|
||||
# this file, unless overridden by release.conf. In most cases, these
|
||||
# will not need to be changed.
|
||||
CONF_FILES="__MAKE_CONF=${MAKE_CONF} SRCCONF=${SRC_CONF}"
|
||||
NOCONF_FILES="__MAKE_CONF=/dev/null SRCCONF=/dev/null"
|
||||
if [ -n "${TARGET}" ] && [ -n "${TARGET_ARCH}" ]; then
|
||||
ARCH_FLAGS="TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH}"
|
||||
else
|
||||
@ -194,9 +195,9 @@ env_check() {
|
||||
|
||||
CHROOT_MAKEENV="${CHROOT_MAKEENV} \
|
||||
MAKEOBJDIRPREFIX=${CHROOTDIR}/tmp/obj"
|
||||
CHROOT_WMAKEFLAGS="${MAKE_FLAGS} ${WORLD_FLAGS} ${CONF_FILES}"
|
||||
CHROOT_IMAKEFLAGS="${WORLD_FLAGS} ${CONF_FILES}"
|
||||
CHROOT_DMAKEFLAGS="${WORLD_FLAGS} ${CONF_FILES}"
|
||||
CHROOT_WMAKEFLAGS="${MAKE_FLAGS} ${WORLD_FLAGS} ${NOCONF_FILES}"
|
||||
CHROOT_IMAKEFLAGS="${WORLD_FLAGS} ${NOCONF_FILES}"
|
||||
CHROOT_DMAKEFLAGS="${WORLD_FLAGS} ${NOCONF_FILES}"
|
||||
RELEASE_WMAKEFLAGS="${MAKE_FLAGS} ${WORLD_FLAGS} ${ARCH_FLAGS} \
|
||||
${CONF_FILES}"
|
||||
RELEASE_KMAKEFLAGS="${MAKE_FLAGS} ${KERNEL_FLAGS} \
|
||||
|
Loading…
Reference in New Issue
Block a user