Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixes for using make 3.82

commit 3c955b4 upstream.

It doesn't like pattern and explicit rules to be on the same line,
and it seems to be more picky when matching file (or really directory)
names with different numbers of trailing slashes.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Andrew Benton <b3nton@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information...
commit ca3d0a0f66312d45e876ece90c04fc9225bdd3ab 1 parent 6379583
Jan Beulich authored gregkh committed

Showing 2 changed files with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. +1 1  firmware/Makefile
  2. +3 1 scripts/mkmakefile
2  firmware/Makefile
@@ -142,7 +142,7 @@ fw-shipped-$(CONFIG_YAM) += yam/1200.bin yam/9600.bin
142 142 fw-shipped-all := $(fw-shipped-y) $(fw-shipped-m) $(fw-shipped-)
143 143
144 144 # Directories which we _might_ need to create, so we have a rule for them.
145   -firmware-dirs := $(sort $(patsubst %,$(objtree)/$(obj)/%/,$(dir $(fw-external-y) $(fw-shipped-all))))
  145 +firmware-dirs := $(sort $(addprefix $(objtree)/$(obj)/,$(dir $(fw-external-y) $(fw-shipped-all))))
146 146
147 147 quiet_cmd_mkdir = MKDIR $(patsubst $(objtree)/%,%,$@)
148 148 cmd_mkdir = mkdir -p $@
4 scripts/mkmakefile
@@ -44,7 +44,9 @@ all:
44 44
45 45 Makefile:;
46 46
47   -\$(all) %/: all
  47 +\$(all): all
48 48 @:
49 49
  50 +%/: all
  51 + @:
50 52 EOF

0 comments on commit ca3d0a0

Please sign in to comment.
Something went wrong with that request. Please try again.