From e2147cefdc703faad30e92b4b123e6e5e82e115c Mon Sep 17 00:00:00 2001 From: Michael Heimpold Date: Wed, 4 Feb 2026 21:47:04 +0100 Subject: [PATCH] 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 (cherry picked from commit 849db7361d2dde654cb5afc3c8308963be761363) --- admin/zabbix/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/zabbix/Makefile b/admin/zabbix/Makefile index a1004d3875..383cf93910 100644 --- a/admin/zabbix/Makefile +++ b/admin/zabbix/Makefile @@ -335,15 +335,15 @@ endif else -define Build/Prepare - true -endef define Build/Configure true endef define Build/Compile true endef +define Build/Install + true +endef endif