From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 29 Jul 2022 08:25:49 +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 1oHJRV-003G4P-Cw for lore@lore.pengutronix.de; Fri, 29 Jul 2022 08:25:49 +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 1oHJRP-0000mi-Fx; Fri, 29 Jul 2022 08:25:43 +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 1oHJPE-000628-Sj; Fri, 29 Jul 2022 08:23:28 +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 1oHJPE-000SNI-5Z; Fri, 29 Jul 2022 08:23:28 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oHJPD-00A2C8-Dg; Fri, 29 Jul 2022 08:23:27 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 29 Jul 2022 08:23:27 +0200 Message-Id: <20220729062327.2391673-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220704103908.3085404-1-m.tretter@pengutronix.de> References: <20220704103908.3085404-1-m.tretter@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] 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: Michael Tretter 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 Thanks, applied as 5c6c474e659300bbd58c13a8137f13d80e376ab3. Michael [sent from post-receive hook] On Fri, 29 Jul 2022 08:23:27 +0200, Michael Tretter wrote: > 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 > Message-Id: <20220704103908.3085404-1-m.tretter@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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