config: imply apk-mbedtls with USE_APK
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 6 Jun 2024 17:16:55 +0000 (19:16 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 11 Jun 2024 21:58:19 +0000 (23:58 +0200)
On top of the fixup to select apk-mbedtls when USE_APK is enabled from a
new config, also imply the package when enabling the config to catch
.config that are already init.

(Having both opkg and apk installed in a system is not a problem but if
USE_APK is used, APK presence in the system is mandatory)

Link: https://github.com/openwrt/openwrt/pull/15543
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
config/Config-build.in

index ed4feb58c2db8ca63c08b1c9285fc00a0c448ecc..02931a87c6b2cd3c419e58242594908b2813423d 100644 (file)
@@ -69,6 +69,7 @@ menu "Global build settings"
                default y
 
        config USE_APK
+               imply PACKAGE_apk-mbedtls
                bool "Use APK instead of OPKG to build distribution (EXPERIMENTAL)"
 
        comment "General build options"