summaryrefslogtreecommitdiff
path: root/mk/zlib_host.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-11-09 00:20:53 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-11-09 00:20:53 +0100
commitf5440f7033019eea6cfc0a125db67259862a9671 (patch)
tree9a040d718decb95406ea8f27183291e315227a3e /mk/zlib_host.mk
parentdcd92fddc94aa56c84771e22545c991f176e2781 (diff)
downloadembtoolkit-f5440f7033019eea6cfc0a125db67259862a9671.tar.gz
embtoolkit-f5440f7033019eea6cfc0a125db67259862a9671.tar.bz2
embtoolkit-f5440f7033019eea6cfc0a125db67259862a9671.tar.xz
Host tools/Toolchain components: massively convert to use more build system features
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/zlib_host.mk')
-rw-r--r--mk/zlib_host.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/zlib_host.mk b/mk/zlib_host.mk
index 9c7b1a5..aeb17eb 100644
--- a/mk/zlib_host.mk
+++ b/mk/zlib_host.mk
@@ -32,8 +32,9 @@ ZLIB_HOST_BUILD_DIR := $(embtk_toolsb)/zlib-$(ZLIB_HOST_VERSION)
ZLIB_HOST_CONFIGURE_ENV := CC=$(HOSTCC_CACHED)
-zlib_host_install:
+define emtk_install_zlib_host
$(call embtk_makeinstall_hostpkg,zlib_host)
+endef
define embtk_configure_zlib_host
$(Q)cd $(ZLIB_HOST_BUILD_DIR); \
@@ -46,12 +47,11 @@ define embtk_configure_zlib_host
endef
define embtk_beforeinstall_zlib_host
+ $(call embtk_download_pkg,zlib_host)
+ $(call embtk_decompress_pkg,zlib_host)
$(embtk_configure_zlib_host)
endef
define embtk_cleanup_zlib_host
$(call embtk_pinfo,"Clean up zlib for host")
endef
-
-zlib_host_clean:
- $(embtk_cleanup_zlib_host)