summaryrefslogtreecommitdiff
path: root/tools/adk/Makefile
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2010-11-20 15:59:19 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-20 20:22:04 +0100
commita4f2ed3645d6b825e769f557e95bbf708e033da2 (patch)
tree267200315041d5726286e22359ba1ed14feeafc3 /tools/adk/Makefile
parentd4bab9e306b4b9fbf02bbd737261db34ee99479f (diff)
add tool to display the size of a HDD/CF/SD/MMC/USB in 512-byte sectors
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'tools/adk/Makefile')
-rw-r--r--tools/adk/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/adk/Makefile b/tools/adk/Makefile
index 0de5b0291..6d02b0d62 100644
--- a/tools/adk/Makefile
+++ b/tools/adk/Makefile
@@ -15,7 +15,10 @@ ${TOPDIR}/bin/tools/pkgrebuild: $(TOPDIR)/bin/tools
${TOPDIR}/bin/tools/pt: $(TOPDIR)/bin/tools
$(HOSTCC) -o $(TOPDIR)/bin/tools/pt pt.c
+${TOPDIR}/bin/tools/dkgetsz: ${TOPDIR}/bin/tools
+ ${HOSTCC} -O2 -Wall -o $@ dkgetsz.c
+
install: ${TOPDIR}/bin/tools/depmaker ${TOPDIR}/bin/tools/pkgrebuild \
- $(TOPDIR)/bin/tools/pt
+ $(TOPDIR)/bin/tools/pt ${TOPDIR}/bin/tools/dkgetsz
include $(TOPDIR)/mk/tools.mk