From patchwork Wed Jan 15 12:55:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?S=C3=A9bastien_Szymanski?= X-Patchwork-Id: 311124 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 4D8CB2C0079 for ; Thu, 16 Jan 2014 00:05:23 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 718FF93BC7; Wed, 15 Jan 2014 13:05:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dmrqli4ZPkQS; Wed, 15 Jan 2014 13:05:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id B567F87DB0; Wed, 15 Jan 2014 13:05:20 +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 F3CEE1C20E9 for ; Wed, 15 Jan 2014 13:05:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id ECC798B996 for ; Wed, 15 Jan 2014 13:05:18 +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 GoXW99XdxZ9B for ; Wed, 15 Jan 2014 13:05:17 +0000 (UTC) X-Greylist: delayed 00:09:53 by SQLgrey-1.7.6 Received: from mo3.mail-out.ovh.net (18.mo3.mail-out.ovh.net [87.98.172.162]) by whitealder.osuosl.org (Postfix) with ESMTP id 6170B8B986 for ; Wed, 15 Jan 2014 13:05:17 +0000 (UTC) Received: from mail628.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo3.mail-out.ovh.net (Postfix) with SMTP id A2CA1FF8B6E for ; Wed, 15 Jan 2014 13:55:23 +0100 (CET) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 15 Jan 2014 14:55:30 +0200 Received: from unknown (HELO localhost.localdomain) (sebastien.szymanski@armadeus.com@83.141.254.164) by ns0.ovh.net with SMTP; 15 Jan 2014 14:55:27 +0200 From: =?UTF-8?q?S=C3=A9bastien=20Szymanski?= To: buildroot@busybox.net Date: Wed, 15 Jan 2014 13:55:54 +0100 Message-Id: <1389790554-24337-1-git-send-email-sebastien.szymanski@armadeus.com> X-Mailer: git-send-email 1.8.3.2 MIME-Version: 1.0 X-Ovh-Tracer-Id: 9601392931797226710 X-Ovh-Remote: 83.141.254.164 () X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 0 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejtddrfeekucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejtddrfeekucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu Cc: eric.jarrige@armadeus.com, julien.boibessot@armadeus.com Subject: [Buildroot] [PATCH 1/1] mmc-utils: 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: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net mmc-utils provides tools to manipulate mmc device registers. It is under "Hardware handling". Signed-off-by: Sébastien Szymanski --- package/Config.in | 1 + package/mmc-utils/Config.in | 10 ++++++++++ package/mmc-utils/mmc-utils.mk | 23 +++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 package/mmc-utils/Config.in create mode 100644 package/mmc-utils/mmc-utils.mk diff --git a/package/Config.in b/package/Config.in index 78c0e06..058c1e4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -312,6 +312,7 @@ source "package/mdadm/Config.in" source "package/media-ctl/Config.in" source "package/memtester/Config.in" source "package/minicom/Config.in" +source "package/mmc-utils/Config.in" source "package/nanocom/Config.in" source "package/neard/Config.in" source "package/ofono/Config.in" diff --git a/package/mmc-utils/Config.in b/package/mmc-utils/Config.in new file mode 100644 index 0000000..07650c8 --- /dev/null +++ b/package/mmc-utils/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_MMC_UTILS + bool "mmc-utils" + depends on BR2_LARGEFILE + help + MMC utils + + https://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git + +comment "mmc-utils needs a toolchain w/ largefile" + depends on !BR2_LARGEFILE diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk new file mode 100644 index 0000000..857d9ac --- /dev/null +++ b/package/mmc-utils/mmc-utils.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# mmc-utils +# +################################################################################ + +MMC_UTILS_VERSION = 11f2ceabc4ad3f0dd568e0ce68166e4803e0615b +MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_LICENSE = GPLv2 + +define MMC_UTILS_BUILD_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) +endef + +define MMC_UTILS_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/mmc $(TARGET_DIR)/usr/bin/mmc +endef + +define MMC_UTILS_UNINSTALL_TARGET_CMDS + $(RM) $(TARGET_DIR)/usr/bin/mmc +endef + +$(eval $(generic-package))