From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 04 Jul 2022 12:39:41 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1o8JUQ-005TIl-En for lore@lore.pengutronix.de; Mon, 04 Jul 2022 12:39:41 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1o8JUT-0003Jl-8n; Mon, 04 Jul 2022 12:39:41 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8JTy-0003JV-CW; Mon, 04 Jul 2022 12:39:10 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1o8JTu-004Lux-5f; Mon, 04 Jul 2022 12:39:09 +0200 Received: from mtr by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1o8JTw-00CwfN-F6; Mon, 04 Jul 2022 12:39:08 +0200 From: Michael Tretter To: ptxdist@pengutronix.de Date: Mon, 4 Jul 2022 12:39:08 +0200 Message-Id: <20220704103908.3085404-1-m.tretter@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH] template-src-linux-driver: add HOST_SYSTEM_PYTHON3 dependency X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: mtr@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false 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 --- 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