From: Bernhard Reutner-Fischer Date: Wed, 5 Oct 2005 13:55:45 +0000 (-0000) Subject: - fix generation of .depend when building out of tree. X-Git-Tag: 1_1_0~592 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b48bfe795ec20dc03ead851ea7c56b053f1289af;p=oweals%2Fbusybox.git - fix generation of .depend when building out of tree. point bb_mkdep to the source directory and not the build-directory. --- diff --git a/Makefile b/Makefile index 7f29037f5..bd8e47c6d 100644 --- 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