buildroot/linux
Julien Olivain b98062f730 linux: replace host-python3 with BR2_PYTHON3_HOST_DEPENDENCY
Commit abce4a2b3 "linux: add BR2_LINUX_KERNEL_NEEDS_HOST_PYTHON3" [1]
introduced a Kernel dependency on host-python3.

Since the Kernel does not have any specific requirements on host
Python modules, or recent host Python version, this commit replaces
the host-python3 dependency with BR2_PYTHON3_HOST_DEPENDENCY. This
will skip the host-python3 compilation if a sufficient version (3.4 or
greater at the time of this commit) is already present on host. This
will save build time.

This optimization was suggested by Peter, in [2].

Note 1: this commit was checked to ensure that Kernel v6.10.9 arm64
defconfig (which does require a python3 interpreter to build) is
working with Python 3.4.

Note 2: BR2_PYTHON3_HOST_DEPENDENCY was introduced in commit b60729784
"support/dependencies: add a check for python3" [3].

[1] abce4a2b36
[2] https://lists.buildroot.org/pipermail/buildroot/2024-September/763967.html
[3] b60729784a

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-03 11:30:55 +02:00
..
5.10.162-cip24-rt10 linux: fix CIP RT kernel on microblaze 2023-03-07 22:22:20 +01:00
0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional linux: add conditional patch for timeconst.pl 2016-02-10 08:12:57 +01:00
Config.ext.in support/scripts/br2-external: add kernel extensions 2022-06-22 22:22:30 +02:00
Config.in {linux, linux-headers}: bump 4.19.x / 5.{4, 10, 15}.x / 6.{1, 6, 10}.x series 2024-10-01 22:00:35 +02:00
linux-ext-aufs.mk linux/linux-ext-*.mk: fit file header into one line 2018-04-01 08:43:07 +02:00
linux-ext-ev3dev-linux-drivers.mk linux/linux-ext-*.mk: fit file header into one line 2018-04-01 08:43:07 +02:00
linux-ext-fbtft.mk linux/linux-ext-*.mk: fit file header into one line 2018-04-01 08:43:07 +02:00
linux-ext-rtai.mk linux/linux*.mk: fix code style 2018-04-01 08:43:42 +02:00
linux-ext-xenomai.mk linux/linux-ext-xenomai: add check-package exclusion comment 2019-06-08 22:59:32 +02:00
linux.hash {linux, linux-headers}: bump 4.19.x / 5.{4, 10, 15}.x / 6.{1, 6, 10}.x series 2024-10-01 22:00:35 +02:00
linux.mk linux: replace host-python3 with BR2_PYTHON3_HOST_DEPENDENCY 2024-10-03 11:30:55 +02:00