Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 0f908cc

Browse files
akpm00torvalds
authored andcommitted
tools/objtool/Makefile: don't assume sync-check.sh is executable
patch(1) loses the x bit. So if a user follows our patching instructions in Documentation/admin-guide/README.rst, their kernel will not compile. Fixes: 3bd51c5 ("objtool: Move kernel headers/code sync check to a script") Reported-by: Nicolas Bock <nicolasbock@gentoo.org> Reported-by Joakim Tjernlund <Joakim.Tjernlund@infinera.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent a0b1280 commit 0f908cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/objtool/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $(OBJTOOL_IN): fixdep FORCE
4646
@$(MAKE) $(build)=objtool
4747

4848
$(OBJTOOL): $(LIBSUBCMD) $(OBJTOOL_IN)
49-
@./sync-check.sh
49+
@$(CONFIG_SHELL) ./sync-check.sh
5050
$(QUIET_LINK)$(CC) $(OBJTOOL_IN) $(LDFLAGS) -o $@
5151

5252

0 commit comments

Comments
 (0)