svn commit: r202095 - head
Bjoern A. Zeeb
bz at FreeBSD.org
Mon Jan 11 17:58:16 UTC 2010
Author: bz
Date: Mon Jan 11 17:58:15 2010
New Revision: 202095
URL: http://svn.freebsd.org/changeset/base/202095
Log:
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
Modified:
head/Makefile
Modified: head/Makefile
==============================================================================
--- head/Makefile Mon Jan 11 17:35:34 2010 (r202094)
+++ head/Makefile Mon Jan 11 17:58:15 2010 (r202095)
@@ -321,8 +321,9 @@ universe_${target}:
@echo ">> ${target} completed on `LC_ALL=C date`"
.endfor
universe_kernels: universe_kernconfs
-XMACHINE!= uname -m
-TARGET?= ${XMACHINE}
+.if !defined(TARGET)
+TARGET!= uname -m
+.endif
KERNCONFS!= cd ${.CURDIR}/sys/${TARGET}/conf && \
find [A-Z0-9]*[A-Z0-9] -type f -maxdepth 0 \
! -name DEFAULTS ! -name NOTES
More information about the svn-src-all
mailing list