- fix generation of .depend when building out of tree.

point bb_mkdep to the source directory and not the build-directory.
This commit is contained in:
Bernhard Reutner-Fischer 2005-10-05 13:55:45 +00:00
parent 83e1884d0c
commit b48bfe795e

View File

@ -275,7 +275,7 @@ depend dep $(top_builddir)/.depend: .depend
.depend: scripts/bb_mkdep $(DEP_INCLUDES)
@rm -f .depend
@mkdir -p include/config
scripts/bb_mkdep -c include/config.h -c include/bb_config.h > $@.tmp
scripts/bb_mkdep -c include/config.h -c include/bb_config.h $(top_srcdir)/ > $@.tmp
mv $@.tmp $@
include/config.h: .config