From 55a7a224e175c3a3acb9e692f119abd9ab8419cb Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Sun, 17 Mar 2019 09:32:33 +0100 Subject: [PATCH] batctl: Add package description per variant Fixes: 129986825219 ("batctl: Provide different variants") Signed-off-by: Sven Eckelmann --- batctl/Makefile | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/batctl/Makefile b/batctl/Makefile index 84a456c..b4c501f 100644 --- a/batctl/Makefile +++ b/batctl/Makefile @@ -30,6 +30,13 @@ define Package/batctl/Default MAINTAINER:=Simon Wunderlich endef +define Package/batctl/description +batctl is a more intuitive managment utility for B.A.T.M.A.N.-Advanced. +It is an easier method for configuring batman-adv and provides some +additional tools for debugging as well. This package builds +version $(PKG_VERSION) of the user space utility. +endef + define Package/batctl-tiny $(call Package/batctl/Default) TITLE:=B.A.T.M.A.N. Advanced user space configuration tool (Minimal) @@ -38,6 +45,11 @@ $(call Package/batctl/Default) ALTERNATIVES:=100:/usr/sbin/batctl:/usr/libexec/batctl-tiny endef +define Package/batctl-tiny/description +$(Package/batctl/description) +Only configuration relevant subcommands are enabled. +endef + define Package/batctl-default $(call Package/batctl/Default) TITLE:=B.A.T.M.A.N. Advanced user space configuration tool (Default) @@ -45,6 +57,11 @@ $(call Package/batctl/Default) ALTERNATIVES:=200:/usr/sbin/batctl:/usr/libexec/batctl-default endef +define Package/batctl-default/description +$(Package/batctl/description) +Standard subcommands for configuration and online debugging are enabled. +endef + define Package/batctl-full $(call Package/batctl/Default) TITLE:=B.A.T.M.A.N. Advanced user space configuration tool (Full) @@ -52,11 +69,9 @@ $(call Package/batctl/Default) ALTERNATIVES:=300:/usr/sbin/batctl:/usr/libexec/batctl-full endef -define Package/batctl/description -batctl is a more intuitive managment utility for B.A.T.M.A.N.-Advanced. -It is an easier method for configuring batman-adv and provides some -additional tools for debugging as well. This package builds -version $(PKG_VERSION) of the user space utility. +define Package/batctl-full/description +$(Package/batctl/description) +Subcommands for configuration, online and offline debugging are enabled. endef # The linker can identify unused sections of a binary when each symbol is stored -- 2.30.2