Use the correct variable for the tools/TARGET.conf file.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
gjb 2015-05-06 23:26:51 +00:00
parent db697baa50
commit 1def0e984e

View File

@ -324,8 +324,8 @@ chroot_build_release() {
chroot_arm_armv6_build_release() {
load_target_env
# XXX: In progress.
if [ -e "${RELENGDIR}/tools/${TARGET}.subr" ]; then
. "${RELENGDIR}/tools/${TARGET}.subr"
if [ -e "${RELENGDIR}/tools/${EMBEDDED_TARGET}.subr" ]; then
. "${RELENGDIR}/tools/${EMBEDDED_TARGET}.subr"
fi
. "${RELENGDIR}/arm/${KERNEL}.conf"
WORLDDIR="$(eval chroot ${CHROOTDIR} make -C /usr/src/release -V WORLDDIR)"