package/nbd: add option for the trdump utility
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 12 Mar 2017 09:58:17 +0000 (10:58 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 12 Mar 2017 13:27:46 +0000 (14:27 +0100)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/nbd/Config.in
package/nbd/nbd.mk

index b00bc40a8ee043f8db7fa09eec1b9c68546e14f0..afe8ad4fe5ccef6b92466e8363c15e35d4d65441 100644 (file)
@@ -16,12 +16,17 @@ config BR2_PACKAGE_NBD_CLIENT
        bool "nbd client"
        default y
        help
-         the client part of NBD.
+         The client part of NBD.
 
 config BR2_PACKAGE_NBD_SERVER
        bool "nbd server"
        help
-         the server part of NBD.
+         The server part of NBD.
+
+config BR2_PACKAGE_NBD_TRDUMP
+       bool "nbd trdump"
+       help
+         Utility to dump server logs in human-readable form.
 
 endif
 
index 92660c2f1144b1456a9b7b2186455e954a513468..42200eeddd7a5f42cbcd1b5f02beda004486d6b4 100644 (file)
@@ -24,6 +24,9 @@ endif
 ifneq ($(BR2_PACKAGE_NBD_SERVER),y)
 NBD_TOREMOVE += /usr/bin/nbd-server
 endif
+ifneq ($(BR2_PACKAGE_NBD_TRDUMP),y)
+NBD_TOREMOVE += /usr/bin/nbd-trdump
+endif
 
 define NBD_CLEANUP_AFTER_INSTALL
        rm -f $(addprefix $(TARGET_DIR), $(NBD_TOREMOVE))