summaryrefslogtreecommitdiff
path: root/tools/mkcrypt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mkcrypt/Makefile')
-rw-r--r--tools/mkcrypt/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/mkcrypt/Makefile b/tools/mkcrypt/Makefile
index 4baf56c44..1708f9f13 100644
--- a/tools/mkcrypt/Makefile
+++ b/tools/mkcrypt/Makefile
@@ -3,9 +3,9 @@
include $(TOPDIR)/rules.mk
-${TOPDIR}/bin/tools/mkcrypt:
- $(HOSTCC) -o $(TOPDIR)/bin/tools/mkcrypt mkcrypt.c
+${TOOLS_DIR}/mkcrypt:
+ $(HOSTCC) ${HOSTCFLAGS} -o $@ mkcrypt.c
-install: ${TOPDIR}/bin/tools/mkcrypt
+install: ${TOOLS_DIR}/mkcrypt
include $(TOPDIR)/mk/tools.mk