diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2010-01-11 17:58:15 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2010-01-11 17:58:15 +0000 |
commit | 5f5bb1d11ad3752c74a6e1db9c9d0aa3c2fd39ea (patch) | |
tree | 931f8b5f5317f35141929c1bb05e441e1e3f4dbb /Makefile | |
parent | fe1748059fa38e2757ecc8843cbd14ab1d556c9e (diff) | |
download | src-5f5bb1d11ad3752c74a6e1db9c9d0aa3c2fd39ea.tar.gz src-5f5bb1d11ad3752c74a6e1db9c9d0aa3c2fd39ea.zip |
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
Notes
Notes:
svn path=/head/; revision=202095
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |