aboutsummaryrefslogtreecommitdiffstats
path: root/package/dosfstools/dosfstools.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-03-01 06:24:04 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-03-01 23:02:52 +0100
commitd57f905d93bdb635c60c0213f0e4eaec2b0ace59 (patch)
tree69b8d60dbc0d3e60eff568aebd057cbbb0fd8e74 /package/dosfstools/dosfstools.mk
parent462f828228301cca5d08b3eb188e3a7e068d2063 (diff)
downloadbuildroot-novena-d57f905d93bdb635c60c0213f0e4eaec2b0ace59.tar.gz
buildroot-novena-d57f905d93bdb635c60c0213f0e4eaec2b0ace59.zip
dosfstools: bump to version 3.0.15
[Peter: update comment dependency, use DOSFSTOOLS_LDFLAGS for all flags] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/dosfstools/dosfstools.mk')
-rw-r--r--package/dosfstools/dosfstools.mk15
1 files changed, 11 insertions, 4 deletions
diff --git a/package/dosfstools/dosfstools.mk b/package/dosfstools/dosfstools.mk
index 4f89364c7..e3cc9cfb5 100644
--- a/package/dosfstools/dosfstools.mk
+++ b/package/dosfstools/dosfstools.mk
@@ -4,17 +4,24 @@
#
#############################################################
-DOSFSTOOLS_VERSION = 3.0.12
-DOSFSTOOLS_SITE = http://fossies.org/linux/misc/
+DOSFSTOOLS_VERSION = 3.0.15
+DOSFSTOOLS_SITE = http://fossies.org/linux/misc
DOSFSTOOLS_LICENSE = GPLv3+
DOSFSTOOLS_LICENSE_FILES = COPYING
+DOSFSTOOLS_LDFLAGS = $(TARGET_LDFLAGS)
+
+ifneq ($(BR2_ENABLE_LOCALE),y)
+DOSFSTOOLS_DEPENDENCIES += libiconv
+DOSFSTOOLS_LDFLAGS += -liconv
+endif
+
MKDOSFS_BINARY = mkdosfs
DOSFSCK_BINARY = dosfsck
DOSFSLABEL_BINARY = dosfslabel
define DOSFSTOOLS_BUILD_CMDS
- $(MAKE) CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" \
- CC="$(TARGET_CC)" -C $(@D)
+ $(MAKE) CFLAGS="$(TARGET_CFLAGS)" CC="$(TARGET_CC)" \
+ LDFLAGS="$(DOSFSTOOLS_LDFLAGS)" -C $(@D)
endef
DOSFSTOOLS_INSTALL_BIN_FILES_$(BR2_PACKAGE_DOSFSTOOLS_MKDOSFS)+=$(MKDOSFS_BINARY)