tools/zlib: move zlib build to tools
[openwrt/staging/wigyori.git] / tools / make-ext4fs / Makefile
1 #
2 # Copyright (C) 2015 OpenWrt.org
3 # Copyright (C) 2016 LEDE project
4 #
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
7 #
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=make-ext4fs
11
12 PKG_SOURCE_URL=$(PROJECT_GIT)/project/make_ext4fs.git
13 PKG_SOURCE_PROTO:=git
14 PKG_SOURCE_DATE:=2016-08-14
15 PKG_SOURCE_VERSION:=484903e4332be6c317f531b008cb2a841a18c506
16 PKG_MIRROR_HASH:=d7ccd5e426b1d15331ff000a37dc15161f6eef594453e970fd584fcde5a25075
17
18 include $(INCLUDE_DIR)/host-build.mk
19
20 HOST_MAKE_FLAGS += STATIC=1
21
22 define Host/Install
23 $(INSTALL_BIN) $(HOST_BUILD_DIR)/make_ext4fs $(STAGING_DIR_HOST)/bin/
24 endef
25
26 define Host/Clean
27 rm -f $(STAGING_DIR_HOST)/bin/make_ext4fs
28 endef
29
30 $(eval $(call HostBuild))