mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 1/1] kernel: Fix iio generic_buffer tool name
Date: Wed, 4 Jan 2017 17:43:37 +0100	[thread overview]
Message-ID: <20170104164337.fl4ymr3byxbal2s4@pengutronix.de> (raw)
In-Reply-To: <20170104164147.3n5dn6nrcu2ilojn@pengutronix.de>

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.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2017-01-04 16:43 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 [this message]
2017-01-05  7:11       ` Alexander Stein
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=20170104164337.fl4ymr3byxbal2s4@pengutronix.de \
    --to=m.olbrich@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