Browse Source

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 <[email protected]>
Stijn Tintel 6 months ago
parent
commit
9105c2d568
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/u-boot.mk

+ 2 - 0
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', \