From c419a40ef442e0298cbc8e89d8d509d5e4a64028 Mon Sep 17 00:00:00 2001 From: "RĂ¼diger, Christoph" Date: Thu, 26 Nov 2015 02:23:26 +0000 Subject: 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 Signed-off-by: Michael Olbrich --- 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 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) -- cgit v1.2.3