batman-adv: Rebuild on CONFIG_BATMAN_ADV_* changes
authorSven Eckelmann <sven@narfation.org>
Sun, 23 Oct 2022 07:56:15 +0000 (09:56 +0200)
committerSven Eckelmann <sven@narfation.org>
Sun, 23 Oct 2022 08:16:07 +0000 (10:16 +0200)
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 <sven@narfation.org>
batman-adv/Makefile

index b2367b9203b6c2896ac80a213234e90ad7f0783e..8b9617743cffefbf17b28d15e248c7ea0c2d8975 100644 (file)
@@ -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