fix parallel building again
This commit is contained in:
parent
0f8a63896e
commit
016d6289a1
4
Makefile
4
Makefile
@ -110,6 +110,7 @@ $(ALL_MAKEFILES): %/Makefile: $(top_srcdir)/%/Makefile
|
|||||||
include $(patsubst %,%/Makefile.in, $(SRC_DIRS))
|
include $(patsubst %,%/Makefile.in, $(SRC_DIRS))
|
||||||
-include $(top_builddir)/.depend
|
-include $(top_builddir)/.depend
|
||||||
|
|
||||||
|
%.o: .depend
|
||||||
busybox: $(ALL_MAKEFILES) .depend $(libraries-y)
|
busybox: $(ALL_MAKEFILES) .depend $(libraries-y)
|
||||||
$(CC) $(LDFLAGS) -o $@ -Wl,--start-group $(libraries-y) $(LIBRARIES) -Wl,--end-group
|
$(CC) $(LDFLAGS) -o $@ -Wl,--start-group $(libraries-y) $(LIBRARIES) -Wl,--end-group
|
||||||
$(STRIPCMD) $@
|
$(STRIPCMD) $@
|
||||||
@ -196,7 +197,8 @@ endif
|
|||||||
.depend: scripts/bb_mkdep $(DEP_INCLUDES)
|
.depend: scripts/bb_mkdep $(DEP_INCLUDES)
|
||||||
@rm -f .depend
|
@rm -f .depend
|
||||||
@mkdir -p include/config
|
@mkdir -p include/config
|
||||||
scripts/bb_mkdep -c include/config.h -c include/bb_config.h > $@
|
scripts/bb_mkdep -c include/config.h -c include/bb_config.h > $@.tmp
|
||||||
|
mv $@.tmp $@
|
||||||
|
|
||||||
include/config.h: .config
|
include/config.h: .config
|
||||||
@if [ ! -x $(top_builddir)/scripts/config/conf ] ; then \
|
@if [ ! -x $(top_builddir)/scripts/config/conf ] ; then \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user