[OpenWrt-Devel] [PATCH 1/2] mtools: build and install mmd

Álvaro Fernández Rojas noltari at gmail.com
Sat Oct 10 05:34:33 EDT 2015


useful for making MS-DOS subdirectories

Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 tools/mtools/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/mtools/Makefile b/tools/mtools/Makefile
index 674c8dd..13de447 100644
--- a/tools/mtools/Makefile
+++ b/tools/mtools/Makefile
@@ -22,15 +22,17 @@ HOST_CONFIGURE_VARS += \
 	ac_cv_header_iconv_h=no
 
 define Host/Compile
-	$(MAKE) -C $(HOST_BUILD_DIR) mcopy
+	$(MAKE) -C $(HOST_BUILD_DIR) mcopy mmd
 endef
 
 define Host/Install
 	$(INSTALL_BIN) $(HOST_BUILD_DIR)/mcopy $(STAGING_DIR_HOST)/bin/
+	$(INSTALL_BIN) $(HOST_BUILD_DIR)/mmd $(STAGING_DIR_HOST)/bin/
 endef
 
 define Host/Clean
 	rm -f $(STAGING_DIR_HOST)/bin/mcopy
+	rm -f $(STAGING_DIR_HOST)/bin/mmd
 endef
 
 $(eval $(call HostBuild))
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list