From 38e63800f6a33d7294fe8b2573432062f11c6537 Mon Sep 17 00:00:00 2001 From: Liam Hupfer Date: Fri, 15 Nov 2024 14:23:24 -0600 Subject: [PATCH] package/python3: select host Python 3 Building Python for the target requires host Python via PYTHON3_DEPENDENCIES. Host Python is exposed as a standalone Kconfig option, so when BR2_PACKAGE_PYTHON3=y, it is possible for host Python to be built even when BR2_PACKAGE_HOST_PYTHON3=n. Normally this is OK for host packages. However, host-python3 has a number of sub-options, which sometimes need to be selected by a package. In that case, that particular package has to add the `select BR2_PACKAGE_HOST_PYTHON3` while it doesn't have a direct dependency on host-python3. Add `select BR2_PACKAGE_HOST_PYTHON3' to python3 itself. Signed-off-by: Liam Hupfer Signed-off-by: Arnout Vandecappelle --- package/python3/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python3/Config.in b/package/python3/Config.in index 38f0580aa4..cfc08bad86 100644 --- a/package/python3/Config.in +++ b/package/python3/Config.in @@ -11,6 +11,7 @@ config BR2_PACKAGE_PYTHON3 depends on !BR2_STATIC_LIBS select BR2_PACKAGE_LIBFFI select BR2_PACKAGE_BLUEZ5_UTILS_HEADERS if BR2_PACKAGE_BLUEZ5_UTILS + select BR2_PACKAGE_HOST_PYTHON3 help The python language interpreter.