Use uname -m [1] and rename BUILD_ARCH to XMACHINE[2].

Submitted by:	nyan[1], imp[2]
MFC after:	27 days
X-MFC with:	r201815
This commit is contained in:
Bjoern A. Zeeb 2010-01-09 23:37:29 +00:00
parent 9d8e1a8300
commit 9c6a3d8223
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201960

View File

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