From f7df4ea864339c1c978ec3243814a44d74037d4d Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Fri, 16 May 2014 17:50:57 +0000 Subject: [PATCH] Provide HOST_MACHINE --- share/mk/host-target.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/share/mk/host-target.mk b/share/mk/host-target.mk index c6d4562bf15a..84308608499f 100644 --- a/share/mk/host-target.mk +++ b/share/mk/host-target.mk @@ -18,6 +18,10 @@ _HOST_ARCH != uname -m .endif .export _HOST_ARCH .endif +.if !defined(HOST_MACHINE) +HOST_MACHINE != uname -m +.export HOST_MACHINE +.endif HOST_OSMAJOR := ${_HOST_OSREL:C/[^0-9].*//} HOST_OSTYPE := ${_HOST_OSNAME}-${_HOST_OSREL:C/\([^\)]*\)//}-${_HOST_ARCH}