summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-02-05 00:48:03 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-02-22 23:03:57 (GMT)
commit3f73abd78ba566f664f6012d0cd90dd26f4eb434 (patch)
treef268d4e4d9a6fe4e013a3bdcae275c3b33f7a209
parent3833cf499484a1ccab971c3b74210e10ce4028bd (diff)
downloadbuildroot-3f73abd78ba566f664f6012d0cd90dd26f4eb434.tar.gz
buildroot-3f73abd78ba566f664f6012d0cd90dd26f4eb434.tar.bz2
exfat: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/exfat/Config.in15
-rw-r--r--package/exfat/exfat.mk25
3 files changed, 41 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 2fad94d..983ac4a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -189,6 +189,7 @@ source "package/cramfs/Config.in"
source "package/curlftpfs/Config.in"
source "package/dosfstools/Config.in"
source "package/e2fsprogs/Config.in"
+source "package/exfat/Config.in"
source "package/flashbench/Config.in"
source "package/genext2fs/Config.in"
source "package/genromfs/Config.in"
diff --git a/package/exfat/Config.in b/package/exfat/Config.in
new file mode 100644
index 0000000..c7e7fdb
--- /dev/null
+++ b/package/exfat/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_EXFAT
+ bool "exFAT (FUSE)"
+ depends on BR2_LARGEFILE # libfuse
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
+ depends on BR2_USE_MMU # libfuse
+ depends on BR2_USE_WCHAR
+ select BR2_PACKAGE_LIBFUSE
+ help
+ A full-featured exFAT file system implementation for GNU/Linux
+ and other Unix-like systems as a FUSE module.
+
+ http://code.google.com/p/exfat/
+
+comment "exfat requires a toolchain with LARGEFILE, WCHAR and threads support"
+ depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
diff --git a/package/exfat/exfat.mk b/package/exfat/exfat.mk
new file mode 100644
index 0000000..673b6d2
--- /dev/null
+++ b/package/exfat/exfat.mk
@@ -0,0 +1,25 @@
+#############################################################
+#
+# exfat
+#
+#############################################################
+
+EXFAT_VERSION = 1.0.1
+EXFAT_SITE = http://exfat.googlecode.com/files
+EXFAT_SOURCE = fuse-exfat-$(EXFAT_VERSION).tar.gz
+EXFAT_DEPENDENCIES = host-scons libfuse
+EXFAT_LICENSE = GPLv3
+EXFAT_LICENSE_FILES = COPYING
+
+define EXFAT_BUILD_CMDS
+ (cd $(@D); \
+ $(TARGET_CONFIGURE_OPTS) $(SCONS))
+endef
+
+define EXFAT_INSTALL_TARGET_CMDS
+ (cd $(@D); \
+ $(TARGET_CONFIGURE_OPTS) $(SCONS) \
+ DESTDIR=$(TARGET_DIR)/usr/sbin install)
+endef
+
+$(eval $(generic-package))