All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/6] package/dosfstools: add host-package selection
Date: Thu,  7 Mar 2013 22:55:27 +0100	[thread overview]
Message-ID: <4f60d3511f2b622a55fa7d6ea88048967bbec842.1362693294.git.yann.morin.1998@free.fr> (raw)
In-Reply-To: <cover.1362693294.git.yann.morin.1998@free.fr>

Add dosfstools as a host-package selection in the menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

---
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))
-- 
1.7.2.5

  parent reply	other threads:[~2013-03-07 21:55 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-07 21:55 [Buildroot] [pull request v4] Pull request for branch yem-host-image-tools Yann E. MORIN
2013-03-07 21:55 ` [Buildroot] [PATCH 1/6] package/e2fsprogs: add host-package selection Yann E. MORIN
2013-03-07 21:55 ` Yann E. MORIN [this message]
2013-03-07 21:55 ` [Buildroot] [PATCH 3/6] package/libconfuse: add host variant Yann E. MORIN
2013-03-07 21:55 ` [Buildroot] [PATCH 4/6] package/genimage: new host-only package Yann E. MORIN
2013-03-10 11:41   ` Thomas Petazzoni
2013-03-10 23:39     ` Yann E. MORIN
2013-03-11 21:30       ` Thomas Petazzoni
2013-03-07 21:55 ` [Buildroot] [PATCH 5/6] package/genpart: " Yann E. MORIN
2013-03-10 11:44   ` Thomas Petazzoni
2013-03-10 23:50     ` Yann E. MORIN
2013-03-07 21:55 ` [Buildroot] [PATCH 6/6] package/mtools: new host-package Yann E. MORIN
2013-03-10 11:49   ` Thomas Petazzoni
2013-03-11  0:02     ` Yann E. MORIN
2013-03-11 21:30       ` Thomas Petazzoni
2013-03-12 17:16       ` Luca Ceresoli
2013-03-12 17:40         ` Thomas De Schampheleire
2013-03-12 23:24           ` Arnout Vandecappelle
2013-03-15 11:48             ` Thomas Petazzoni
2013-03-10 11:40 ` [Buildroot] [pull request v4] Pull request for branch yem-host-image-tools Thomas Petazzoni
  -- strict thread matches above, loose matches on Subject: below --
2013-03-17 18:19 [Buildroot] [pull request v5] " Yann E. MORIN
2013-03-17 18:19 ` [Buildroot] [PATCH 2/6] package/dosfstools: add host-package selection Yann E. MORIN
2013-03-18 22:04   ` Peter Korsgaard
2013-02-17 23:04 [Buildroot] [pull request v3 'next'] Pull request for branch yem-host-image-tools Yann E. MORIN
2013-02-17 23:04 ` [Buildroot] [PATCH 2/6] package/dosfstools: add host-package selection Yann E. MORIN
2013-02-08 21:56 [Buildroot] [pull request v2] Pull request for branch yem-host-image-tools Yann E. MORIN
2013-02-08 21:56 ` [Buildroot] [PATCH 2/6] package/dosfstools: add host-package selection Yann E. MORIN
2013-02-08 17:32 [Buildroot] [pull request] Pull request for branch yem-host-image-tools Yann E. MORIN
2013-02-08 17:32 ` [Buildroot] [PATCH 2/6] package/dosfstools: add host-package selection Yann E. MORIN
2013-02-08 17:41   ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4f60d3511f2b622a55fa7d6ea88048967bbec842.1362693294.git.yann.morin.1998@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.