From patchwork Tue Feb 5 10:48:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 218225 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 078072C02AE for ; Tue, 5 Feb 2013 21:48:19 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7DA3131271; Tue, 5 Feb 2013 10:48:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tPJjL42AAvvN; Tue, 5 Feb 2013 10:48:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id BB0E3311BB; Tue, 5 Feb 2013 10:48:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A350D8F753 for ; Tue, 5 Feb 2013 10:48:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 381488C1E1 for ; Tue, 5 Feb 2013 10:48:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dfikqmt51y9u for ; Tue, 5 Feb 2013 10:48:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id DFBB78C17A for ; Tue, 5 Feb 2013 10:48:11 +0000 (UTC) Received: from asgard (host132.190-136-125.telecom.net.ar [190.136.125.132]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.6/8.14.6) with ESMTP id r15Am50X019827 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 5 Feb 2013 10:48:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1360061289; bh=kT8UyKV1yesAD6+u5bWGMhBtJx1Olwm3e0IT1sXJ9wI=; h=From:To:Cc:Subject:Date; b=j37+QooEW+lFa6b5V0ZG8Zi5Xs+S8Az6bIFPzGevC3THAIknR0/JswnYn7vPtU9ag 9PHDztcv/zy4Jt+kxv1RvanpjZFAlt0v+RDbr4EgtMxQtL+UV+7rkei2eyGKEHkTak NLl4gAD9fuu9EMJ8a3r+TDCqO6XpVfSValyaNt8M= Received: by asgard (sSMTP sendmail emulation); Tue, 05 Feb 2013 07:48:04 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Tue, 5 Feb 2013 07:48:03 -0300 Message-Id: <1360061284-11353-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.7.12.4 X-Virus-Scanned: clamav-milter 0.97.5 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCHv2 1/2] exfat: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Gustavo Zacarias --- package/Config.in | 1 + package/exfat/Config.in | 15 +++++++++++++++ package/exfat/exfat.mk | 25 +++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 package/exfat/Config.in create mode 100644 package/exfat/exfat.mk diff --git a/package/Config.in b/package/Config.in index be7f7bb..2a4656c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -190,6 +190,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))