core/out-of-tree: fix Makefile wrapper
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 16 Jul 2015 21:16:46 +0000 (23:16 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 16 Jul 2015 21:38:52 +0000 (23:38 +0200)
Commit 971faf8 (Makefile: fix out-of-tree builds with multiple targets
with 'all') renamed the default target to '_all' to avoid name-clashing.

In doing so, I forgot to also fix the instance in the .PHONY rule.

Fix that now.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/mkmakefile

index 974e2c0eb6e5eabbb9ec9e0291ba56f56361349d..833be6a92cb909f40e2c4172cbcf81b365fd1f6b 100755 (executable)
@@ -30,7 +30,7 @@ MAKEARGS += O=\$(if \$(patsubst /%,,\$(makedir)),\$(CURDIR)/)\$(patsubst %/,%,\$
 
 MAKEFLAGS += --no-print-directory
 
-.PHONY: all \$(MAKECMDGOALS)
+.PHONY: _all \$(MAKECMDGOALS)
 
 all    := \$(filter-out Makefile,\$(MAKECMDGOALS))