summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/adk/Makefile9
-rw-r--r--tools/cpio/Makefile2
-rw-r--r--tools/mkcrypt/Makefile2
3 files changed, 5 insertions, 8 deletions
diff --git a/tools/adk/Makefile b/tools/adk/Makefile
index a7dee6a2e..1f8c2186e 100644
--- a/tools/adk/Makefile
+++ b/tools/adk/Makefile
@@ -3,18 +3,15 @@
include $(TOPDIR)/rules.mk
-$(TOPDIR)/bin/tools:
- @mkdir -p $(TOPDIR)/bin/tools
-
CCANDLD.c= ${HOSTCC} ${HOSTCFLAGS} ${HOSTCPPFLAGS} ${HOSTLDFLAGS}
-${TOPDIR}/bin/tools/depmaker: $(TOPDIR)/bin/tools
+${TOPDIR}/bin/tools/depmaker:
${CCANDLD.c} -o $(TOPDIR)/bin/tools/depmaker depmaker.c
-${TOPDIR}/bin/tools/pkgrebuild: $(TOPDIR)/bin/tools
+${TOPDIR}/bin/tools/pkgrebuild:
${CCANDLD.c} -o $(TOPDIR)/bin/tools/pkgrebuild pkgrebuild.c strmap.c
-${TOPDIR}/bin/tools/dkgetsz: ${TOPDIR}/bin/tools
+${TOPDIR}/bin/tools/dkgetsz:
${CCANDLD.c} -Wall -o $@ dkgetsz.c
install: ${TOPDIR}/bin/tools/depmaker ${TOPDIR}/bin/tools/pkgrebuild \
diff --git a/tools/cpio/Makefile b/tools/cpio/Makefile
index 142f65b70..bbf138918 100644
--- a/tools/cpio/Makefile
+++ b/tools/cpio/Makefile
@@ -28,7 +28,7 @@ SRCS+= \
src/cpio.c
${TOPDIR}/bin/tools/cpio: ${SRCS}
- @${HOSTCC} ${HOSTCFLAGS} -D_GNU_SOURCE -Isrc -o $@ $^
+ ${HOSTCC} ${HOSTCFLAGS} -D_GNU_SOURCE -Isrc -o $@ $^
install: ${TOPDIR}/bin/tools/cpio
diff --git a/tools/mkcrypt/Makefile b/tools/mkcrypt/Makefile
index 4baf56c44..54548c39e 100644
--- a/tools/mkcrypt/Makefile
+++ b/tools/mkcrypt/Makefile
@@ -4,7 +4,7 @@
include $(TOPDIR)/rules.mk
${TOPDIR}/bin/tools/mkcrypt:
- $(HOSTCC) -o $(TOPDIR)/bin/tools/mkcrypt mkcrypt.c
+ $(HOSTCC) ${HOSTCFLAGS} -o $(TOPDIR)/bin/tools/mkcrypt mkcrypt.c
install: ${TOPDIR}/bin/tools/mkcrypt