We need .OBJDIR done earlier

This commit is contained in:
Simon J. Gerraty 2013-03-17 01:53:47 +00:00
parent 6c5406e48c
commit 0014c9fea8

View File

@ -93,8 +93,10 @@ OBJTOP := ${HOST_OBJTOP}
.endif
# if you want objdirs make them automatic
.if ${MKOBJDIRS:Uno} == "auto"
# we need .OBJDIR made before we start populating .PATH
.if ${MKOBJDIRS:Uno} == "auto" || defined(WITH_AUTO_OBJ)
WITH_AUTO_OBJ= yes
MKOBJDIRS=auto
.include <auto.obj.mk>
.endif