alfred: Rebuild on CONFIG*_ALFRED_* changes 913/head
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:20:57 +0000 (10:20 +0200)
The buildsystem doesn't know that the Package/*/config kconfig symbols are
related to the alfred package build. It is necessary to explicitly define it
via PKG_CONFIG_DEPENDS.

Fixes: f76074d42429 ("alfred: add alfred 2013.3.0 to feed")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
alfred/Makefile

index f0af528f716e804c08fdd903b828ec3ad0957591..239f8ad981a53663ecbc8d4802a3feef6fd72cf8 100644 (file)
@@ -16,6 +16,13 @@ PKG_LICENSE_FILES:=LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT
 
 PKG_BUILD_PARALLEL:=1
 
+PKG_CONFIG_DEPENDS += \
+       CONFIG_ALFRED_NEEDS_lua \
+       CONFIG_ALFRED_NEEDS_libgps \
+       CONFIG_PACKAGE_ALFRED_VIS \
+       CONFIG_PACKAGE_ALFRED_BATHOSTS \
+       CONFIG_PACKAGE_ALFRED_GPSD
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/alfred