From fb41ed5cc80e5957722063b30b8188a5ee8f9ae7 Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Sun, 23 Oct 2022 09:56:15 +0200 Subject: [PATCH] batman-adv: Rebuild on CONFIG_BATMAN_ADV_* changes The buildsystem doesn't know that the KernelPackage/*/config kconfig symbols are related to the batman-adv package build. It is necessary to explicitly define it via PKG_CONFIG_DEPENDS. Fixes: 522ce8dfdb7f ("batman-adv: rename folder name to match project & package name") Signed-off-by: Sven Eckelmann --- batman-adv/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/batman-adv/Makefile b/batman-adv/Makefile index b2367b9..8b96177 100644 --- a/batman-adv/Makefile +++ b/batman-adv/Makefile @@ -19,6 +19,15 @@ PKG_BUILD_PARALLEL:=1 STAMP_CONFIGURED_DEPENDS := $(STAGING_DIR)/usr/include/mac80211-backport/backport/autoconf.h +PKG_CONFIG_DEPENDS += \ + CONFIG_BATMAN_ADV_BATMAN_V \ + CONFIG_BATMAN_ADV_BLA \ + CONFIG_BATMAN_ADV_DAT \ + CONFIG_BATMAN_ADV_NC \ + CONFIG_BATMAN_ADV_MCAST \ + CONFIG_BATMAN_ADV_DEBUG \ + CONFIG_BATMAN_ADV_TRACING + include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/package.mk -- 2.30.2