zabbix: fix no-configure build variant
authorMichael Heimpold <redacted>
Wed, 4 Feb 2026 20:47:04 +0000 (21:47 +0100)
committerMichael Heimpold <redacted>
Fri, 6 Feb 2026 21:45:27 +0000 (22:45 +0100)
commit849db7361d2dde654cb5afc3c8308963be761363
tree833108ca4a28fe3be63fbc3a583fc2d4f139cee4
parentb54cc9b69eed87f4bd1ea7fd770524da01d51a85
zabbix: fix no-configure build variant

When selecting only a package of "no-configure" build variant, e.g.
CONFIG_PACKAGE_zabbix-frontend-server=y
but not any other zabbix package, then the build fails.
The sources are not extracted and the install fails finally with:

make[4]: Entering directory '/srv/openwrt/openwrt-2.git/build_dir/target-arm_arm926ej-s_musl_eabi/zabbix-no-configure/zabbix-7.0.22'
make[4]: *** No rule to make target 'install'.  Stop.
make[4]: Leaving directory '/srv/openwrt.git/build_dir/target-arm_arm926ej-s_musl_eabi/zabbix-no-configure/zabbix-7.0.22'
make[3]: *** [Makefile:522: /srv/openwrt.git/build_dir/target-arm_arm926ej-s_musl_eabi/zabbix-no-configure/zabbix-7.0.22/.built] Error 2

This PR fixes this by always running the standard Prepare stage,
but skip the Install one when nothing needs to be compiled.

Signed-off-by: Michael Heimpold <redacted>
admin/zabbix/Makefile
git clone https://git.99rst.org/PROJECT