Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2023 01:00:12 GMT
From:      "Simon J. Gerraty" <sjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3483454556d0 - main - local.meta.sys.mk skip OBJTOP for host
Message-ID:  <202304230100.33N10CmC050117@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=3483454556d0e252c9e7c89d35bffe9addeef2ae

commit 3483454556d0e252c9e7c89d35bffe9addeef2ae
Author:     Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2023-04-23 00:59:12 +0000
Commit:     Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2023-04-23 00:59:12 +0000

    local.meta.sys.mk skip OBJTOP for host
    
    It was already done by local.meta.sys.env.mk
---
 share/mk/local.meta.sys.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/share/mk/local.meta.sys.mk b/share/mk/local.meta.sys.mk
index 7747329694ff..bcf25e2e5cd4 100644
--- a/share/mk/local.meta.sys.mk
+++ b/share/mk/local.meta.sys.mk
@@ -10,7 +10,9 @@ MK_INSTALL_AS_USER= yes
 
 # to be consistent with src/Makefile just concatenate with '.'s
 TARGET_OBJ_SPEC:= ${TARGET_SPEC:S;,;.;g}
+.if ${MACHINE} != "host"
 OBJTOP:= ${OBJROOT}${TARGET_OBJ_SPEC}
+.endif
 
 .if defined(MAKEOBJDIR)
 .if ${MAKEOBJDIR:M/*} == ""



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304230100.33N10CmC050117>