summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-19 07:44:09 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-19 07:44:09 +0100
commitb09c81f022b5c9cb55a3f95b6e794795efc2687d (patch)
treebaa620e1444e827d8ab90d7c7c36b617a5f5675a /mk/build.mk
parent7af345e70ac9f56d9f038b73d0333b3ee2c19c07 (diff)
fix bindir path
Diffstat (limited to 'mk/build.mk')
-rw-r--r--mk/build.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/mk/build.mk b/mk/build.mk
index c765d4e62..61da89c18 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -638,16 +638,15 @@ bulkallmod:
if [ -f .exit ];then echo "Bulk build failed!"; cat .exit;rm .exit; exit 1;fi \
done
-${TOPDIR}/bin/tools/pkgmaker: $(TOPDIR)/tools/adk/pkgmaker.c $(TOPDIR)/tools/adk/sortfile.c $(TOPDIR)/tools/adk/strmap.c
- @mkdir -p $(TOPDIR)/bin/tools
+${BIN_DIR}/pkgmaker: $(TOPDIR)/tools/adk/pkgmaker.c $(TOPDIR)/tools/adk/sortfile.c $(TOPDIR)/tools/adk/strmap.c
@$(CC_FOR_BUILD) -g -o $@ tools/adk/pkgmaker.c tools/adk/sortfile.c tools/adk/strmap.c
-${TOPDIR}/bin/tools/pkgrebuild: $(TOPDIR)/tools/adk/pkgrebuild.c $(TOPDIR)/tools/adk/strmap.c
+${BIN_DIR}/pkgrebuild: $(TOPDIR)/tools/adk/pkgrebuild.c $(TOPDIR)/tools/adk/strmap.c
@$(CC_FOR_BUILD) -g -o $@ tools/adk/pkgrebuild.c tools/adk/strmap.c
-package/Config.in.auto menu .menu: $(wildcard ${TOPDIR}/package/*/Makefile) ${TOPDIR}/bin/tools/pkgmaker ${TOPDIR}/bin/tools/pkgrebuild
+package/Config.in.auto menu .menu: $(wildcard ${TOPDIR}/package/*/Makefile) ${BIN_DIR}/pkgmaker ${BIN_DIR}/pkgrebuild
@echo "Generating menu structure ..."
- @$(TOPDIR)/bin/tools/pkgmaker
+ @$(BIN_DIR)/pkgmaker
@:>.menu
${BIN_DIR}/depmaker: $(TOPDIR)/tools/adk/depmaker.c