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:04:54 +0000 (10:04 +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 3ec2321341e13f8b9a47eeb6ae40ab111304ced4..4c7ffb95ffd4142082f060126d53f97dcb588ce0 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