From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 25 May 2023 00:23:33 +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 1q1wtK-00Cnpr-Ft for lore@lore.pengutronix.de; Thu, 25 May 2023 00:23:33 +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 1q1wbY-0003We-2G; Thu, 25 May 2023 00:05:12 +0200 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q1wbC-0003WT-4z for ptxdist@pengutronix.de; Thu, 25 May 2023 00:04:50 +0200 Received: from rhi by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1q1wbB-0006lc-U0 for ptxdist@pengutronix.de; Thu, 25 May 2023 00:04:49 +0200 Date: Thu, 25 May 2023 00:04:49 +0200 From: Roland Hieber To: ptxdist@pengutronix.de Message-ID: <20230524220449.wyh3fimq6zgd4xcs@pengutronix.de> References: <20230515072054.1997217-1-rhi@pengutronix.de> <20230515072054.1997217-6-rhi@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 Subject: Re: [ptxdist] [PATCH 6/8] host-canfestival: add host package 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 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 On Wed, May 17, 2023 at 02:36:39PM +0200, Michael Olbrich wrote: > On Mon, May 15, 2023 at 09:20:52AM +0200, Roland Hieber wrote: > > Signed-off-by: Roland Hieber > > --- > > rules/host-canfestival.in | 6 ++++++ > > rules/host-canfestival.make | 29 +++++++++++++++++++++++++++++ > > 2 files changed, 35 insertions(+) > > create mode 100644 rules/host-canfestival.in > > create mode 100644 rules/host-canfestival.make > > > > diff --git a/rules/host-canfestival.in b/rules/host-canfestival.in > > new file mode 100644 > > index 000000000000..46ad4eef5cba > > --- /dev/null > > +++ b/rules/host-canfestival.in > > @@ -0,0 +1,6 @@ > > +## SECTION=hosttools_noprompt > > + > > +config HOST_CANFESTIVAL > > + tristate > > + default y if ALLYES > > + select HOST_SYSTEM_PYTHON > > Aaaahh, we want to get rid of Python 2 not add more dependencies :-/. > Someone really needs to port that stuff to Python 3. Hmm. Those Python scripts are apparently only used on the host and are not installed on the target at all. And I don't understand why the canfestival target package links them into the host sysroot…?!? I guess I'll just leave out this patch for v2. - Roland > > Michael > > > diff --git a/rules/host-canfestival.make b/rules/host-canfestival.make > > new file mode 100644 > > index 000000000000..186381581db1 > > --- /dev/null > > +++ b/rules/host-canfestival.make > > @@ -0,0 +1,29 @@ > > +# -*-makefile-*- > > +# > > +# Copyright (C) 2023 by Roland Hieber > > +# > > +# For further information about the PTXdist project and license conditions > > +# see the README file. > > +# > > + > > +# > > +# We provide this package > > +# > > +HOST_PACKAGES-$(PTXCONF_HOST_CANFESTIVAL) += host-canfestival > > + > > +# ---------------------------------------------------------------------------- > > +# Prepare > > +# ---------------------------------------------------------------------------- > > + > > +# > > +# not really autoconf > > +# > > +HOST_CANFESTIVAL_CONF_TOOL := autoconf > > +HOST_CANFESTIVAL_CONF_OPT := \ > > + --prefix=/usr \ > > + --can=socket \ > > + --timers=unix \ > > + --wx=0 \ > > + $(call ptx/ifdef,PTXCONF_ENDIAN_BIG,--CANOPEN_BIG_ENDIAN=1) \ > > + > > +# vim: syntax=make > > -- > > 2.39.2 > > > > > > > > -- > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > -- Roland Hieber, Pengutronix e.K. | r.hieber@pengutronix.de | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |