aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dosfstools/Makefile
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2016-10-11 14:46:15 +0200
committerFelix Fietkau <nbd@nbd.name>2016-10-12 11:59:10 +0200
commit4bbc6fb7b7e78496bf08f0d3a80c0e8f15bfe244 (patch)
treed9396f37392e9f8fe8d33be03121605e9ab7f20a /tools/dosfstools/Makefile
parent87b2b89959e0cfed7946a3712355642395750ca9 (diff)
downloadupstream-4bbc6fb7b7e78496bf08f0d3a80c0e8f15bfe244.tar.gz
upstream-4bbc6fb7b7e78496bf08f0d3a80c0e8f15bfe244.tar.bz2
upstream-4bbc6fb7b7e78496bf08f0d3a80c0e8f15bfe244.zip
tools: improve and simplify dosfstools
- use default host install and clean. - backport compatibility patch for OS X and LEDE (avoids having to force iconv for OS X). - use default HOST_BUILD_DIR. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'tools/dosfstools/Makefile')
-rw-r--r--tools/dosfstools/Makefile11
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/dosfstools/Makefile b/tools/dosfstools/Makefile
index c87d800b85..86589e6d7d 100644
--- a/tools/dosfstools/Makefile
+++ b/tools/dosfstools/Makefile
@@ -15,21 +15,10 @@ PKG_SOURCE_URL:=https://github.com/dosfstools/dosfstools/releases/download/v$(PK
http://fossies.org/linux/misc
PKG_MD5SUM:=9037738953559d1efe04fc5408b6846216cc0138f7f9d32de80b6ec3c35e7daf
-HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION)
-
include $(INCLUDE_DIR)/host-build.mk
ifeq ($(HOST_OS),Darwin)
HOST_CFLAGS += -UHAVE_ENDIAN_H
-LDLIBS += -liconv
endif
-define Host/Install
- $(INSTALL_BIN) $(HOST_BUILD_DIR)/src/mkfs.fat $(STAGING_DIR_HOST)/bin/
-endef
-
-define Host/Clean
- rm -f $(STAGING_DIR_HOST)/bin/mk{dosfs,fs.fat}
-endef
-
$(eval $(call HostBuild))