- fix generation of .depend when building out of tree.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 5 Oct 2005 13:55:45 +0000 (13:55 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 5 Oct 2005 13:55:45 +0000 (13:55 -0000)
  point bb_mkdep to the source directory and not the build-directory.

Makefile

index 7f29037f538214f45cc143e4f5144a7b91c5e550..bd8e47c6d000fad67893e40b7e5c065f4b505625 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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