Revert "src.sys.obj.mk: Export OBJTOP"

Unfortunately this results in make universe's environment, i.e.
corresponding to the host, being used for every one of its sub-makes, so
they're in the wrong place and trample over each other.

This reverts commit 2b7c1402f9.
This commit is contained in:
Jessica Clarke 2024-06-03 00:33:52 +01:00
parent a20a903b16
commit 3cc91b7751

View File

@ -94,9 +94,6 @@ OBJTOP:= ${OBJROOT}${MACHINE}.${MACHINE_ARCH}
# TARGET.TARGET_ARCH handled in OBJROOT already.
OBJTOP:= ${OBJROOT:H}
.endif # ${MK_UNIFIED_OBJDIR} == "yes"
.if ${.MAKE.LEVEL} > 0
.export OBJTOP
.endif
.endif # empty(OBJTOP)
# Fixup OBJROOT/OBJTOP if using MAKEOBJDIRPREFIX.