[Buildroot] [PATCH v2 1/2] help: add a way to document targets declared in local.mk/external.mk

Yann E. MORIN yann.morin.1998 at free.fr
Tue Mar 8 22:31:01 UTC 2016


Thomas, All,

On 2016-03-08 23:13 +0100, Thomas Petazzoni spake thusly:
> On Tue, 8 Mar 2016 23:10:49 +0100, Yann E. MORIN wrote:
> > This definitely does not look nice to me... :-(
> > 
> > What we could do, however, would be:
> > 
> >   - in external.mk:
> >         BR2_HAS_EXTRA_HELP = YES  # Whatever non empty
> > 
> >   - in the main Makefile:
> > 
> >         help:
> >             blabla our current help
> >             $(if $(BR2_HAS_EXTRA_HELP),echo "  - local-help  to get local help blabla)
> > 
> > which would be IMHO much much nicer and much much simpler...
> 
> But it doesn't allow PATCH 2/2.

Indeed, it does not, but I'll reply with an alternate proposal...

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.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list