Fix rescue build using -j. The problem appears to be make not being able
to find the source when the object was specified as <directory>/foo.o. The fix makes the build go through a make objs before compiling the rest of the crunchgen. This ensures that the dhclient bits are built in the correct place where they are picked up for the final compile of rescue. I'd like to thank dwhite@ and gad@ for helping me track down the problem. Fast testing box provided by: phk@ (thanks)
This commit is contained in:
parent
c8baa23e56
commit
44dde923fc
@ -246,14 +246,15 @@ $(CONF): Makefile
|
||||
.endfor
|
||||
|
||||
|
||||
.ORDER: $(OUTPUTS) objs
|
||||
$(OUTPUTS): $(CONF)
|
||||
MAKEOBJDIRPREFIX=${CRUNCHOBJS} crunchgen -q -m $(OUTMK) -c $(OUTC) \
|
||||
$(CONF)
|
||||
|
||||
$(PROG): $(OUTPUTS)
|
||||
$(PROG): $(OUTPUTS) objs
|
||||
MAKEOBJDIRPREFIX=${CRUNCHOBJS} make -f $(OUTMK)
|
||||
|
||||
objs:
|
||||
objs: $(OUTMK)
|
||||
MAKEOBJDIRPREFIX=${CRUNCHOBJS} make -f $(OUTMK) objs
|
||||
|
||||
# <sigh> Someone should replace the bin/csh and bin/sh build-tools with
|
||||
|
Loading…
Reference in New Issue
Block a user