[tools] fix quilt installation on all platforms
[openwrt/svn-archive/archive.git] / tools / quilt / Makefile
index 49da92b..a6f2a9e 100644 (file)
@@ -15,15 +15,20 @@ PKG_MD5SUM:=d33d2442bd34387260b1c1db3e623af0
 
 include $(INCLUDE_DIR)/host-build.mk
 
-define Build/Compile
-       $(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)"
+define Host/Configure
+       $(call Host/Configure/Default)
+       [ -f $(HOST_BUILD_DIR)/Makefile ]
 endef
 
-define Build/Install
-       $(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)" install
+define Host/Compile
+       $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" all lib/backup-files
 endef
 
-define Build/Clean
+define Host/Install
+       $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" install
+endef
+
+define Host/Clean
        rm -f $(STAGING_DIR_HOST)/bin/quilt
 endef