From: Yann E. MORIN Date: Sun, 12 Mar 2017 09:58:17 +0000 (+0100) Subject: package/nbd: add option for the trdump utility X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48d8927ac7512fdfe964346aa7edd9066dd49609;p=buildroot.git package/nbd: add option for the trdump utility Signed-off-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/nbd/Config.in b/package/nbd/Config.in index b00bc40a8e..afe8ad4fe5 100644 --- a/package/nbd/Config.in +++ b/package/nbd/Config.in @@ -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 diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk index 92660c2f11..42200eeddd 100644 --- a/package/nbd/nbd.mk +++ b/package/nbd/nbd.mk @@ -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))