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

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-05-06 23:26:51 +00:00
parent 4ad8b75d53
commit 68bca5fb30
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/release-arm-redux/; revision=282570

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)"