[Buildroot] [PATCH v2] Makefile: fix out-of-tree builds with multiple targets with 'all'

Ryan Barnett rjbarnet at rockwellcollins.com
Mon Nov 4 14:18:54 UTC 2013


"Yann E. MORIN" <yann.morin.1998 at gmail.com> wrote on 11/03/2013 04:23:01 

> 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 

If you add the comment above, I will give you this:

Tested-by: Ryan Barnett <rjbarnet at rockwellcollins.com>

> Reported-by: Ryan Barnett <rjbarnet at rockwellcollins.com>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Ryan Barnett <rjbarnet at rockwellcollins.com>
> ---
> Changes v1->v2:
>   - fix one missed 'all' occurence

More information about the buildroot mailing list