Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jun 2022 22:06:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 233265] 'make -V MAKEOBJDIRPREFIX' at the top of base source tree doesn't work if value of MAKEOBJDIRPREFIX is customized
Message-ID:  <bug-233265-227-Lo28zc3YTP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233265-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233265-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233265

--- Comment #2 from Simon J. Gerraty <sjg@FreeBSD.org> ---
Should the clobbering of MAKEOBJDIRPREFIX be dependent on MK_DIRDEPS_BUILD=
=3Dyes
?
Since it originally make from local.meta.sys.mk?

I note too that there are two blocks in src.sys.obj.mk guarded by

.if !empty(MAKEOBJDIRPREFIX)

but since the first one clobbers MAKEOBJDIRPREFIX, the 2nd one should never=
 be
entered.

I know the traditional freebsd build plays games with MAKEOBJDIRPREFIX,
but wondering what the motive was for clobbering it outside the context of
DIRDEPS_BUILD - where use of MAKEOBJDIR is relied upon to ensure that the s=
ame
RELDIR is valid in src and object trees.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233265-227-Lo28zc3YTP>