mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
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
7 lines
224 B
Makefile
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
|