Since commit a637a4e50bac ("template-src-linux-driver: generate
compile_commands.json at build-time") the make template of the modules
uses the kernel's script to generate the compile_commands.json.

As this is a Python 3 script, kernel modules need the
HOST_SYSTEM_PYTHON3 dependency.

Signed-off-by: Michael Tretter <[email protected]>
---
 rules/templates/template-src-linux-driver-in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/templates/template-src-linux-driver-in 
b/rules/templates/template-src-linux-driver-in
index 7cb61c87cd46..4d0463a9f3f0 100644
--- a/rules/templates/template-src-linux-driver-in
+++ b/rules/templates/template-src-linux-driver-in
@@ -3,6 +3,7 @@
 config @PACKAGE@
        tristate
        select KERNEL
+       select HOST_SYSTEM_PYTHON3
        prompt "@package@"
        help
          FIXME
-- 
2.30.2


Reply via email to