[Buildroot] [PATCH 5/5] Makefile: fix out-of-tree builds with multiple targets with 'all'
jacmet at uclibc.org
Wed Nov 6 22:27:58 UTC 2013
>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
> 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.
> Fixes #6644.
> 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>
> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> Tested-by: Ryan Barnett <rjbarnet at rockwellcollins.com>
Bye, Peter Korsgaard
More information about the buildroot