mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Rüdiger, Christoph" <Christoph.Ruediger@thyssenkrupp.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] [PATCH] mtd-utils: Added ubiblock support
Date: Thu, 26 Nov 2015 02:23:26 +0000	[thread overview]
Message-ID: <1E9AED858BEB204B9DE4F807C7ED0EF61B1A51ED@EMSRVWIN2934.apps.edc.thyssenkrupp.com> (raw)

This patch installs the already built ubiblock executable into the package, depending on the respective config option.

Signed-off-by: Christoph Ruediger <christoph.ruediger@thyssenkrupp.com>
---
 rules/mtd-utils.in   | 6 ++++++
 rules/mtd-utils.make | 4 ++++
 2 files changed, 10 insertions(+)

diff --git a/rules/mtd-utils.in b/rules/mtd-utils.in
index 12b2ed3..ad9c0d9 100644
--- a/rules/mtd-utils.in
+++ b/rules/mtd-utils.in
@@ -241,6 +241,12 @@ config MTD_UTILS_UBIATTACH
 comment "busybox' ubiattach is selected!"
 	depends on BUSYBOX_UBIATTACH
 
+config MTD_UTILS_UBIBLOCK
+	bool
+	prompt "ubiblock"
+	help
+	  Manage block interfaces for UBI volumes
+
 config MTD_UTILS_UBICRC32
 	bool
 	prompt "ubicrc32"
diff --git a/rules/mtd-utils.make b/rules/mtd-utils.make
index 2b701a2..ba633c3 100644
--- a/rules/mtd-utils.make
+++ b/rules/mtd-utils.make
@@ -169,6 +169,10 @@ ifdef PTXCONF_MTD_UTILS_UBIATTACH
 	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
 		/usr/sbin/ubiattach)
 endif
+ifdef PTXCONF_MTD_UTILS_UBIBLOCK
+	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
+		/usr/sbin/ubiblock)
+endif
 ifdef PTXCONF_MTD_UTILS_UBIDETACH
 	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
 		/usr/sbin/ubidetach)
-- 
1.9.1

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2015-11-26  2:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1E9AED858BEB204B9DE4F807C7ED0EF61B1A51ED@EMSRVWIN2934.apps.edc.thyssenkrupp.com \
    --to=christoph.ruediger@thyssenkrupp.com \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox