summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRĂ¼diger, Christoph <Christoph.Ruediger@thyssenkrupp.com>2015-11-26 02:23:26 +0000
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-12-09 20:36:59 +0100
commitc419a40ef442e0298cbc8e89d8d509d5e4a64028 (patch)
tree44babe047c0c6cc4019b7d27a588bbb8717bb96e
parent214989337dc630883f76dbb8a7889f69958f463c (diff)
downloadptxdist-c419a40ef442e0298cbc8e89d8d509d5e4a64028.tar.gz
ptxdist-c419a40ef442e0298cbc8e89d8d509d5e4a64028.tar.xz
mtd-utils: Added ubiblock support
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> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/mtd-utils.in6
-rw-r--r--rules/mtd-utils.make4
2 files changed, 10 insertions, 0 deletions
diff --git a/rules/mtd-utils.in b/rules/mtd-utils.in
index 12b2ed320..ad9c0d916 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 2b701a202..ba633c33e 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)