Skip to content

Commit ca3d0a0

Browse files
Jan Beulichgregkh
Jan Beulich
authored andcommitted
fixes for using make 3.82
commit 3c955b407a084810f57260d61548cc92c14bc627 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 <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Andrew Benton <[email protected]> Signed-off-by: Michal Marek <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 6379583 commit ca3d0a0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: firmware/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ fw-shipped-$(CONFIG_YAM) += yam/1200.bin yam/9600.bin
142142
fw-shipped-all := $(fw-shipped-y) $(fw-shipped-m) $(fw-shipped-)
143143

144144
# 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))))
146146

147147
quiet_cmd_mkdir = MKDIR $(patsubst $(objtree)/%,%,$@)
148148
cmd_mkdir = mkdir -p $@

Diff for: scripts/mkmakefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ all:
4444
4545
Makefile:;
4646
47-
\$(all) %/: all
47+
\$(all): all
4848
@:
4949
50+
%/: all
51+
@:
5052
EOF

0 commit comments

Comments
 (0)