Skip to content

Commit

Permalink
Follow-up r325329: Store all WORLDTMP objects back in the same direct…
Browse files Browse the repository at this point in the history
…ory.

This still keeps the reduced MAKEOBJDIRPREFIX (SRCTOP) redundancy
removed in the OBJDIR, but now keeps all early phase objects
in the same directory rather than split per phase.

The problem of splitting per phase is that later phases want to link in
libraries from earlier phases and base their location on ${OBJTOP}.

Pointyhat to:	bdrewery
Reported by:	mjoras, Mark Millard
Sponsored by:	Dell EMC Isilon
  • Loading branch information
bdrewery committed Nov 3, 2017
1 parent ea72d67 commit a633481
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.inc1
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ BMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \
MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}"
# need to keep this in sync with targets/pseudo/bootstrap-tools/Makefile
BSARGS= DESTDIR= \
OBJTOP='${WORLDTMP}/obj-$${BWPHASE}' \
OBJTOP='${WORLDTMP}/obj-tools' \
OBJROOT='$${OBJTOP}/' \
BOOTSTRAPPING=${OSRELDATE} \
BWPHASE=${.TARGET:C,^_,,} \
Expand Down
2 changes: 1 addition & 1 deletion targets/pseudo/bootstrap-tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ OSRELDATE?= 0

# need to keep this in sync with src/Makefile.inc1
BSARGS= DESTDIR= \
OBJTOP='${WORLDTMP}/obj-$${BWPHASE}' \
OBJTOP='${WORLDTMP}/obj-tools' \
OBJROOT='$${OBJTOP}/' \
BOOTSTRAPPING=${OSRELDATE} \
BWPHASE=${.TARGET} \
Expand Down

0 comments on commit a633481

Please sign in to comment.