Skip to contentSkip to conversation

core/out-of-tree: fix Makefile wrapper

PATCH New Yann E. MORIN 2 participants 2 messages Jul 16, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 support/scripts/mkmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/scripts/mkmakefile +1 -1
index 974e2c0..833be6a 100755
@@ -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))
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 core/out-of-tree: fix Makefile wrapper

Dear Yann E. MORIN,

Quoted 11 lines · Yann E. MORIN

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.

---
 support/scripts/mkmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com