diff options
author | Sven Roederer <devel-sven@geroedel.de> | 2021-04-22 22:35:58 +0200 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-06-02 07:07:22 -1000 |
commit | 2b11ec6fd02be060443cf4afc9d89058aadcfab3 (patch) | |
tree | 667025c322686665a0f7d962410dd228d1b36496 /modules/luci-mod-battstatus | |
parent | 209141d49153b999c42b0410010366789b36e86d (diff) |
luci.mk: make SUBMENU package define customizable and optional
When including luci.mk in external repos it's sometimes usefull to not use
the default LuCI-submenu hierarchy.
This change defines the LUCI_SUBMENU_FORCED variable which completely overrides
the default submenu of the LuCI config-section. When LUCI_SUBMENU_FORCED is not
defined, the default submenu derrived from LUCI_TYPE or "Application" fallback
is used.
Defining LUCI_SUBMENU_FORCED in the package Makefile will just use this value.
Setting it to "none" will not define a submenu at all.
Together with LUCI_SECTION and LUCI_CATEGORY menu items can now created at any
place in the menu structure.
Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
Diffstat (limited to 'modules/luci-mod-battstatus')
0 files changed, 0 insertions, 0 deletions