summaryrefslogtreecommitdiff
path: root/tools/adk/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-10-31 19:51:33 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-10-31 19:51:33 +0100
commit8f5add1754284c4e0f6162797b20b5d08b2e2882 (patch)
treeefdbb6e29576ae5347acb7c85aa7064f3eef1b80 /tools/adk/Makefile
parent119fb7326416a7d22f2aa89cc3c3b9d686030f43 (diff)
rework installation scripts for block devices
Avoid sfdisk, parted and chroot to be more portable. Compile Host grub in target/tools, only used for ibmx40 target right now. Add pt - partition table manager from OpenWrt with some additions and portability fixes. Cfgfs support missing, coming soon.
Diffstat (limited to 'tools/adk/Makefile')
-rw-r--r--tools/adk/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/adk/Makefile b/tools/adk/Makefile
index 3f2048e68..fd1d0e2c0 100644
--- a/tools/adk/Makefile
+++ b/tools/adk/Makefile
@@ -9,6 +9,10 @@ ${TOPDIR}/bin/tools/depmaker:
${TOPDIR}/bin/tools/pkgrebuild:
$(HOSTCC) -o $(TOPDIR)/bin/tools/pkgrebuild pkgrebuild.c strmap.c
-install: ${TOPDIR}/bin/tools/depmaker ${TOPDIR}/bin/tools/pkgrebuild
+${TOPDIR}/bin/tools/pt:
+ $(HOSTCC) -o $(TOPDIR)/bin/tools/pt pt.c
+
+install: ${TOPDIR}/bin/tools/depmaker ${TOPDIR}/bin/tools/pkgrebuild \
+ $(TOPDIR)/bin/tools/pt
include $(TOPDIR)/mk/tools.mk