WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: [PATCH 0/1] Makefile: add variable print capabilities

Re: [PATCH 0/1] Makefile: add variable print capabilities

by Emeric Vigier :: Rate this Message:

| View in Thread



----- Mail original -----

> Le Thu, 19 Jul 2012 15:01:17 -0400,
> Emeric Vigier <emeric.vigier@...> 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?

It is somehow similar to Android's "get_build_var" which is very useful to me.
$ get_build_var TARGET_OUT
out/target/product/panda/system

But maybe there are other convenient ways to retrieve those INKTV (I never know the value) variables without grepping or reading Makefile and included ones?

>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
>

--
Emeric
_______________________________________________
buildroot mailing list
buildroot@...
http://lists.busybox.net/mailman/listinfo/buildroot

 « Return to Thread: [PATCH 0/1] Makefile: add variable print capabilities