From: Yann E. MORIN Date: Thu, 16 Jul 2015 21:16:46 +0000 (+0200) Subject: core/out-of-tree: fix Makefile wrapper X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bae1ac5757f7dac2c906447502542bbb0cbdd62;p=buildroot.git core/out-of-tree: fix Makefile wrapper 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" Signed-off-by: Thomas Petazzoni --- diff --git a/support/scripts/mkmakefile b/support/scripts/mkmakefile index 974e2c0eb6..833be6a92c 100755 --- a/support/scripts/mkmakefile +++ b/support/scripts/mkmakefile @@ -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))