From patchwork Sun Mar 17 18:19:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 228303 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 8E7D32C00C5 for ; Mon, 18 Mar 2013 05:21:01 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CF48B8AD5F; Sun, 17 Mar 2013 18:20:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id khLQz7fIe4HU; Sun, 17 Mar 2013 18:20:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 519F38BCCF; Sun, 17 Mar 2013 18:20:34 +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 0D6C68F74B for ; Sun, 17 Mar 2013 18:20:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 817278B684 for ; Sun, 17 Mar 2013 18:20:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I1m1+27AvPp7 for ; Sun, 17 Mar 2013 18:19:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f174.google.com (mail-we0-f174.google.com [74.125.82.174]) by whitealder.osuosl.org (Postfix) with ESMTPS id 05FB18AD5F for ; Sun, 17 Mar 2013 18:19:58 +0000 (UTC) Received: by mail-we0-f174.google.com with SMTP id r6so4283329wey.5 for ; Sun, 17 Mar 2013 11:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references; bh=jNK3ynuMLkpZtH1oFJLGQ8Xp9G2VwVBGOFqQNSdiZsc=; b=wXf7tfRx6eRH5btctzqAjU7S2sz/o4BzBil/PduUy6fEmFeXDBU+7w/I1JFUYcE5Y0 lozHPyrsHrfNDW5TKJbyAkV9a2Lpsh9rNibuITeJDL8uLEFCc1gD+WYwALSJ6dzwo8Mr AW9Jq6H2Y/A9cYXPqUV88Uote4aoPayYRqdd/YHdWwo0fZTmIQxOHgzQ5nSD54+rlSBm P177Ec9FlMcheTzohPb8rYjoWDplhNVhiXp5qWZYGgzfKdHT+9Ic1bH9ysdkcs44FgPx sEeJypxY4qmasln70iaR63TuzTPzvzNqornXk6PaPtEblAWCPv3DCP5MO91TOnlhCm5s MvDQ== X-Received: by 10.194.83.105 with SMTP id p9mr20565528wjy.56.1363544397331; Sun, 17 Mar 2013 11:19:57 -0700 (PDT) Received: from localhost.localdomain (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPS id o8sm9331106wix.7.2013.03.17.11.19.55 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 17 Mar 2013 11:19:56 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 17 Mar 2013 19:19:41 +0100 Message-Id: <920e21a386db62a7719947a19cc7e59405727c94.1363544331.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 2/6] package/dosfstools: add host-package selection 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 Add dosfstools as a host-package selection in the menuconfig. Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Tested-by: Thomas Petazzoni --- v1 -> v2 - use $(HOST_CONFIGURE_OPTS) (Thomas) --- package/Config.in.host | 1 + package/dosfstools/Config.in.host | 6 ++++++ package/dosfstools/dosfstools.mk | 9 +++++++++ 3 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 package/dosfstools/Config.in.host diff --git a/package/Config.in.host b/package/Config.in.host index 8813f5b..43f292c 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -1,6 +1,7 @@ menu "Host utilities" source "package/dfu-util/Config.in.host" +source "package/dosfstools/Config.in.host" source "package/e2fsprogs/Config.in.host" source "package/lpc3250loader/Config.in.host" source "package/omap-u-boot-utils/Config.in.host" diff --git a/package/dosfstools/Config.in.host b/package/dosfstools/Config.in.host new file mode 100644 index 0000000..9f9ceab --- /dev/null +++ b/package/dosfstools/Config.in.host @@ -0,0 +1,6 @@ +config BR2_PACKAGE_HOST_DOSFSTOOLS + bool "host dosfstools" + help + Tools for creating and checking DOS FAT filesystems. + + http://www.daniel-baumann.ch/software/dosfstools/ diff --git a/package/dosfstools/dosfstools.mk b/package/dosfstools/dosfstools.mk index 3a0856a..332f2ee 100644 --- a/package/dosfstools/dosfstools.mk +++ b/package/dosfstools/dosfstools.mk @@ -43,4 +43,13 @@ define DOSFSTOOLS_CLEAN_CMDS -$(MAKE) -C $(@D) clean endef +define HOST_DOSFSTOOLS_BUILD_CMDS + $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) +endef + +define HOST_DOSFSTOOLS_INSTALL_CMDS + $(MAKE) -C $(@D) $(HOST_CONFIGURE_OPTS) PREFIX=$(HOST_DIR)/usr install +endef + $(eval $(generic-package)) +$(eval $(host-generic-package))