[Buildroot] [PATCH v2] Makefile: fix out-of-tree builds with multiple targets with 'all'
Yann E. MORIN
yann.morin.1998 at free.fr
Mon Nov 4 21:20:35 UTC 2013
Ryan, All,
On 2013-11-04 08:18 -0600, Ryan Barnett spake thusly:
> Yann,
>
> "Yann E. MORIN" <yann.morin.1998 at gmail.com> wrote on 11/03/2013 04:23:01
> AM:
>
> > From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> >
> > For out-of-tree builds, this use-case fails to build:
> > $ make clean all
> >
> > This is because 'all' is filtered-out in the Makefile wrapper, since
> > the wrapper itself has a 'all' target.
> >
> > The 'all' target is just the usual naming for the default target in a
> > Makefile. In fact, the first target is the default one, so we can name
> > it whatever we want.
> >
> > Rename the Makefile wrapper 'all' target to avoid name-clashing.
>
> Could you please add a comment about fixing the bug I reported? I'll even
> make it easy for you with having the comment below so you can copy and
> paste :)
>
> Fixes bug #6644
Doh, yes, I'll repost with commit message fixed.
> If you add the comment above, I will give you this:
>
> Tested-by: Ryan Barnett <rjbarnet at rockwellcollins.com>
Thanks!
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