mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 6/8] host-canfestival: add host package
Date: Thu, 25 May 2023 00:04:49 +0200	[thread overview]
Message-ID: <20230524220449.wyh3fimq6zgd4xcs@pengutronix.de> (raw)
In-Reply-To: <ZGTKV4hxdR2w0wP2@pengutronix.de>

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 <rhi@pengutronix.de>
> > ---
> >  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 <rhi@pengutronix.de>
> > +#
> > +# 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 |



  reply	other threads:[~2023-05-24 22:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-15  7:20 [ptxdist] [PATCH 1/8] cpputest: new package: C++ unit test framework Roland Hieber
2023-05-15  7:20 ` [ptxdist] [PATCH 2/8] libbson: new package: routines related to BSON documents Roland Hieber
2023-05-15  7:26   ` [ptxdist] [PATCH] fixup! " Roland Hieber
2023-05-17 12:38   ` [ptxdist] [PATCH 2/8] " Michael Olbrich
2023-05-15  7:20 ` [ptxdist] [PATCH 3/8] libconfig: correct license and pin down license files Roland Hieber
2023-05-15  7:20 ` [ptxdist] [PATCH 4/8] libevent: amend license and pin down license file Roland Hieber
2023-05-15  7:20 ` [ptxdist] [PATCH 5/8] htmldoc: new package: HTML-to-PDF/PostScript/EPUB converter Roland Hieber
2023-05-17 12:29   ` Michael Olbrich
2023-05-15  7:20 ` [ptxdist] [PATCH 6/8] host-canfestival: add host package Roland Hieber
2023-05-17 12:36   ` Michael Olbrich
2023-05-24 22:04     ` Roland Hieber [this message]
2023-05-15  7:20 ` [ptxdist] [PATCH 7/8] host-libconfig: " Roland Hieber
2023-05-15  7:20 ` [ptxdist] [PATCH 8/8] host-libevent: " Roland Hieber
2023-05-17 12:27 ` [ptxdist] [PATCH 1/8] cpputest: new package: C++ unit test framework Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230524220449.wyh3fimq6zgd4xcs@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox