aboutsummaryrefslogtreecommitdiff
path: root/package/infozip
diff options
context:
space:
mode:
Diffstat (limited to 'package/infozip')
-rw-r--r--package/infozip/infozip.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/infozip/infozip.mk b/package/infozip/infozip.mk
index 8e5122405c..42cd1db302 100644
--- a/package/infozip/infozip.mk
+++ b/package/infozip/infozip.mk
@@ -26,4 +26,17 @@ define INFOZIP_INSTALL_TARGET_CMDS
prefix=$(TARGET_DIR)/usr
endef
+define HOST_INFOZIP_BUILD_CMDS
+ $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) \
+ CFLAGS="$(HOST_CFLAGS) -I. -DUNIX" \
+ AS="$(HOST_CC) -c" \
+ -f unix/Makefile generic
+endef
+
+define HOST_INFOZIP_INSTALL_CMDS
+ $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile install \
+ prefix=$(HOST_DIR)/usr
+endef
+
$(eval $(generic-package))
+$(eval $(host-generic-package))