diff options
Diffstat (limited to 'mk/build.mk')
-rw-r--r-- | mk/build.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk index bf520488c..353deda70 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -532,7 +532,13 @@ package/Config.in.auto menu .menu: $(wildcard ${TOPDIR}/package/*/Makefile) ${TO @$(TOPDIR)/bin/tools/pkgmaker @:>.menu -dep: +$(TOPDIR)/bin/tools: + @mkdir -p $(TOPDIR)/bin/tools + +${TOPDIR}/bin/tools/depmaker: $(TOPDIR)/bin/tools + $(HOSTCC) -o $(TOPDIR)/bin/tools/depmaker $(TOPDIR)/tools/adk/depmaker.c + +dep: $(TOPDIR)/bin/tools/depmaker @echo "Generating dependencies ..." $(TOPDIR)/bin/tools/depmaker > ${TOPDIR}/package/Depends.mk |