mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] mtd-utils: Added ubiblock support
@ 2015-11-26  2:23 Rüdiger, Christoph
  0 siblings, 0 replies; only message in thread
From: Rüdiger, Christoph @ 2015-11-26  2:23 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-26  2:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-26  2:23 [ptxdist] [PATCH] mtd-utils: Added ubiblock support Rüdiger, Christoph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox