Rather than using an extra variable, only call uname if really needed and

then directly assign the result.

Submitted by:	jmallett
MFC after:	24 days
X-MFC with:	r201815
This commit is contained in:
Bjoern A. Zeeb 2010-01-11 17:58:15 +00:00
parent fe1748059f
commit 5f5bb1d11a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202095

View File

@ -321,8 +321,9 @@ universe_${target}:
@echo ">> ${target} completed on `LC_ALL=C date`" @echo ">> ${target} completed on `LC_ALL=C date`"
.endfor .endfor
universe_kernels: universe_kernconfs universe_kernels: universe_kernconfs
XMACHINE!= uname -m .if !defined(TARGET)
TARGET?= ${XMACHINE} TARGET!= uname -m
.endif
KERNCONFS!= cd ${.CURDIR}/sys/${TARGET}/conf && \ KERNCONFS!= cd ${.CURDIR}/sys/${TARGET}/conf && \
find [A-Z0-9]*[A-Z0-9] -type f -maxdepth 0 \ find [A-Z0-9]*[A-Z0-9] -type f -maxdepth 0 \
! -name DEFAULTS ! -name NOTES ! -name DEFAULTS ! -name NOTES