From: Alexander Stein <alexander.stein@systec-electronic.com>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 1/1] kernel: Fix iio generic_buffer tool name
Date: Thu, 05 Jan 2017 08:11:06 +0100 [thread overview]
Message-ID: <3157426.mHzkmuhvpA@ws-stein> (raw)
In-Reply-To: <20170104164337.fl4ymr3byxbal2s4@pengutronix.de>
On Wednesday 04 January 2017 17:43:37, Michael Olbrich wrote:
> On Wed, Jan 04, 2017 at 05:41:47PM +0100, Michael Olbrich wrote:
> > On Wed, Dec 21, 2016 at 08:50:48AM +0100, Alexander Dahl wrote:
> > > Hei hei,
> > >
> > > On Wed, Dec 21, 2016 at 08:05:20AM +0100, Alexander Stein wrote:
> > > > ifdef PTXCONF_KERNEL_TOOL_IIO
> > > >
> > > > - @$(call install_copy, kernel, 0, 0, 0755,
> > > > $(KERNEL_DIR)/tools/iio/generic_buffer, \ + @$(call install_copy,
> > > > kernel, 0, 0, 0755, $(KERNEL_DIR)/tools/iio/iio_generic_buffer, \> > >
> > > > /usr/bin/iio_generic_buffer)
> > > >
> > > > @$(call install_copy, kernel, 0, 0, 0755,
> > > > $(KERNEL_DIR)/tools/iio/lsiio, \
> > > >
> > > > /usr/bin/lsiio)
> > >
> > > Would it be possible to make this dependent on the actually used
> > > kernel version?
> >
> > $(call install_glob, kernel, 0, 0, $(KERNEL_DIR)/tools/iio, /usr/bin, \
> >
> > /generic_buffer /iio_generic_buffer)
> >
> > I think (untested). That should find either file.
>
> Hmm, that doesn't work. The original code renamed the file.
> I _think_ using some $(wildcard ...) stuff may work though, for the source
> file.
But this would rename the file in some cases, no? I would keep the filename as
it is.
Best regards,
Alexander
--
Dipl.-Inf. Alexander Stein
SYS TEC electronic GmbH
alexander.stein@systec-electronic.com
Legal and Commercial Address:
Am Windrad 2
08468 Heinsdorfergrund
Germany
Office: +49 (0) 3765 38600-0
Fax: +49 (0) 3765 38600-4100
Managing Directors:
Director Technology/CEO: Dipl.-Phys. Siegmar Schmidt;
Director Commercial Affairs/COO: Dipl. Ing. (FH) Armin von Collrepp
Commercial Registry:
Amtsgericht Chemnitz, HRB 28082; USt.-Id Nr. DE150534010
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2017-01-05 7:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-21 7:05 Alexander Stein
2016-12-21 7:50 ` Alexander Dahl
2017-01-04 16:41 ` Michael Olbrich
2017-01-04 16:43 ` Michael Olbrich
2017-01-05 7:11 ` Alexander Stein [this message]
2017-01-05 9:13 ` 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=3157426.mHzkmuhvpA@ws-stein \
--to=alexander.stein@systec-electronic.com \
--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