package/nbd: add option for the trdump utility
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
4aabbeb245
commit
48d8927ac7
@ -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
|
||||
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user