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
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
.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
|
||||
Reference in New Issue
Block a user