mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-25 20:27:55 +01:00
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:
parent
fe1748059f
commit
5f5bb1d11a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202095
5
Makefile
5
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user