Files
freebsd-src/share/mk/local.meta.stage.mk
Simon J. Gerraty c5c0e79bb0 Add local.meta.stage.mk
We need to undo NO_OBJ if we are staging
as it causes us to drop the stage* target cookies in src tree
which is bad, and may break doing the same targets for multiple
architectures.

Reviewed by:	stevek
2024-10-16 09:26:29 -07:00

7 lines
224 B
Makefile

.if defined(NO_OBJ) && ${__objdir:U${.CURDIR}} != ${.CURDIR}
# NO_OBJ would cause us to dribble stage* into .CURDIR
# which will prevent the targets being done for multiple MACHINES
.undef NO_OBJ
.OBJDIR: ${__objdir}
.endif