Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 0/1] Makefile: add variable print capabilities
Date: Sun, 26 May 2013 21:40:14 +0200	[thread overview]
Message-ID: <20130526194014.GC3380@free.fr> (raw)
In-Reply-To: <20120719220825.584bfb03@skate>

Emeric, All,

On 2012-07-19 22:08 +0200, Thomas Petazzoni spake thusly:
> Le Thu, 19 Jul 2012 15:01:17 -0400,
> Emeric Vigier <emeric.vigier@savoirfairelinux.com> a ?crit :
> 
> > I just got started with buildroot yesterday, and like it :-).
> > I am no Makefile expert, then often I turn into wanting to check Makefile variables.
> > This patch adds a capability to do so by issuing:
> > 
> > $ make print-<myvariable>
> > 
> > e.g.
> > 
> > $ make print-DL_DIR
> > DL_DIR = /home/evigier/buildroot/dl
> 
> Hum, is this really useful? What are the use cases? What do other
> thinks about this?

I like the overall idea, but only for printing all variables.
It's then possible to grep the result to find the one variable one is
interested in.

I've taken that patch in my tree (dropped the per-variable print, and
adapted the printvars a bit), and will send a pull request to Peter
later tonight.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  parent reply	other threads:[~2013-05-26 19:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 19:01 [Buildroot] [PATCH 0/1] Makefile: add variable print capabilities Emeric Vigier
2012-07-19 19:01 ` [Buildroot] [PATCH] " Emeric Vigier
2012-07-19 20:08 ` [Buildroot] [PATCH 0/1] " Thomas Petazzoni
2012-07-19 22:25   ` Émeric Vigier
2013-05-26 19:40   ` Yann E. MORIN [this message]
2013-05-26 19:44     ` Thomas Petazzoni
2013-05-26 19:48       ` Yann E. MORIN
2013-05-26 20:03         ` Thomas Petazzoni
  -- strict thread matches above, loose matches on Subject: below --
2012-07-19 18:29 Emeric Vigier

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=20130526194014.GC3380@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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