zabbix: hide CONFIG symbols when no Zabbix package selected
authorDaniel F. Dickinson <redacted>
Mon, 16 Mar 2026 06:43:17 +0000 (02:43 -0400)
committerFlorian Eckert <redacted>
Sun, 22 Mar 2026 08:16:50 +0000 (09:16 +0100)
commitf0576eb36bb85b6640389350c56930aca5961d15
tree7986590383fc03f857905fb559dd1c3ce33e8ea6
parent32abd6408f892d790ad0cb3a117512e40c4a2eaf
zabbix: hide CONFIG symbols when no Zabbix package selected

As noted in #28709 OpenWrt  contains CONFIG_
symbols for Zabbix even when no Zabbix package is selected.
This fixes and Closes #28709.

We add a 'guard' symbol for the menus and choices so the only
generate CONFIG symbols when 'Enable Zabbix'
(CONFIG_ZABBIX_ENABLE_ZABBIX) is selected.

We also make all the Zabbix packages depend on this symbol,
for consistency.

This operates much as the pseudo-package solution, but without
a pseudo-package required.

Signed-off-by: Daniel F. Dickinson <redacted>
admin/zabbix/Config.in
admin/zabbix/Makefile
git clone https://git.99rst.org/PROJECT