Skip to content

Commit

Permalink
fixes for using make 3.82
Browse files Browse the repository at this point in the history
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]>
Cc: <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
Jan Beulich authored and michal42 committed Aug 17, 2010
1 parent 3643f84 commit 3c955b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ fw-shipped-$(CONFIG_YAM) += yam/1200.bin yam/9600.bin
fw-shipped-all := $(fw-shipped-y) $(fw-shipped-m) $(fw-shipped-)

# Directories which we _might_ need to create, so we have a rule for them.
firmware-dirs := $(sort $(patsubst %,$(objtree)/$(obj)/%/,$(dir $(fw-external-y) $(fw-shipped-all))))
firmware-dirs := $(sort $(addprefix $(objtree)/$(obj)/,$(dir $(fw-external-y) $(fw-shipped-all))))

quiet_cmd_mkdir = MKDIR $(patsubst $(objtree)/%,%,$@)
cmd_mkdir = mkdir -p $@
Expand Down
4 changes: 3 additions & 1 deletion scripts/mkmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ all:
Makefile:;
\$(all) %/: all
\$(all): all
@:
%/: all
@:
EOF

0 comments on commit 3c955b4

Please sign in to comment.