summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStijn Tintel2025-07-01 17:06:52 +0000
committerStijn Tintel2025-07-01 17:07:46 +0000
commit9105c2d56892a883289162401780748b29c2cd51 (patch)
tree9aa5c5e8ace65ea257ff5c3cd112c173c8b1bca4
parent52e339b8eda31193e23e55dc63aa469ae16363e8 (diff)
downloadopenwrt-9105c2d56892a883289162401780748b29c2cd51.tar.gz
u-boot.mk: support Python 3.12 and 3.13
Fixes the following build problem on systems with Python 3.12 or 3.13: Checking 'python3-setuptools'... failed. Checking 'swig'... ok. u-boot: Please install the Python3 setuptools module Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
-rw-r--r--include/u-boot.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/u-boot.mk b/include/u-boot.mk
index 45f4d454f7..8d946d1122 100644
--- a/include/u-boot.mk
+++ b/include/u-boot.mk
@@ -29,6 +29,8 @@ endif
ifdef UBOOT_USE_INTREE_DTC
$(eval $(call TestHostCommand,python3-dev, \
Please install the python3-dev package, \
+ python3.13-config --includes 2>&1 | grep 'python3', \
+ python3.12-config --includes 2>&1 | grep 'python3', \
python3.11-config --includes 2>&1 | grep 'python3', \
python3.10-config --includes 2>&1 | grep 'python3', \
python3.9-config --includes 2>&1 | grep 'python3', \