- 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:
parent
83e1884d0c
commit
b48bfe795e
2
Makefile
2
Makefile
@ -275,7 +275,7 @@ depend dep $(top_builddir)/.depend: .depend
|
|||||||
.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 > $@.tmp
|
scripts/bb_mkdep -c include/config.h -c include/bb_config.h $(top_srcdir)/ > $@.tmp
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
||||||
include/config.h: .config
|
include/config.h: .config
|
||||||
|
Loading…
Reference in New Issue
Block a user