diff options
author | bz <bz@FreeBSD.org> | 2010-01-11 17:58:15 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2010-01-11 17:58:15 +0000 |
commit | 5467bb48693ab3341378081f870bc148f76d5aa8 (patch) | |
tree | 931f8b5f5317f35141929c1bb05e441e1e3f4dbb /Makefile | |
parent | 24dcc741983ecfb0946f681277036be8e0764bcc (diff) | |
download | FreeBSD-src-5467bb48693ab3341378081f870bc148f76d5aa8.zip FreeBSD-src-5467bb48693ab3341378081f870bc148f76d5aa8.tar.gz |
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
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 |