alfred: Rebuild on CONFIG*_ALFRED_* changes 914/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:49 +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 c4406dcd27ab7ae05547dc326ecb090211b0c5e8..dc789f7253e321f581a3064595b5b50d593baeda 100644 (file)
@@ -14,6 +14,14 @@ PKG_MAINTAINER:=Simon Wunderlich <sw@simonwunderlich.de>
 PKG_LICENSE:=GPL-2.0-only MIT
 PKG_LICENSE_FILES:=LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT
 
+
+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