Commit 02fdabd6 authored by Cesar Prados's avatar Cesar Prados Committed by Alessandro Rubini

Makefile: change to support gmake-3.82

Split a rule into two rules, to make make happy.

In previous versions of make it was acceptable to list one or more
explicit targets followed by one or more pattern targets in the same
rule and it worked "as expected". However, this was not documented as
acceptable and if you listed any explicit targets AFTER the pattern
targets, the entire rule would be mis-parsed. This release removes
this ability completely: make will generate an error message if you
mix explicit and pattern targets in the same rule. You must split
these rules into two rules: one for the pattern and one for the
explicit targets. The Linux kernel source has already been modified in
this way (in newer kernels).
parent 3a58cbe3
...@@ -6,7 +6,10 @@ silentoldconfig: ...@@ -6,7 +6,10 @@ silentoldconfig:
@mkdir -p include/config @mkdir -p include/config
$(MAKE) -f Makefile.kconfig $@ $(MAKE) -f Makefile.kconfig $@
scripts_basic config %config: scripts_basic config:
$(MAKE) -f Makefile.kconfig $@
%config:
$(MAKE) -f Makefile.kconfig $@ $(MAKE) -f Makefile.kconfig $@
defconfig: defconfig:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment