From: Andrew Morton Date: Sat, 13 Jan 2018 00:53:17 +0000 (-0800) Subject: tools/objtool/Makefile: don't assume sync-check.sh is executable X-Git-Tag: v4.19~1852^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f908ccbeca99ddf0ad60afa710e72aded4a5ea7;p=platform%2Fkernel%2Flinux-rpi.git 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: 3bd51c5a371de ("objtool: Move kernel headers/code sync check to a script") Reported-by: Nicolas Bock Reported-by Joakim Tjernlund Cc: Ingo Molnar Cc: Josh Poimboeuf Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile index ae0272f..e6acc28 100644 --- a/tools/objtool/Makefile +++ b/tools/objtool/Makefile @@ -46,7 +46,7 @@ $(OBJTOOL_IN): fixdep FORCE @$(MAKE) $(build)=objtool $(OBJTOOL): $(LIBSUBCMD) $(OBJTOOL_IN) - @./sync-check.sh + @$(CONFIG_SHELL) ./sync-check.sh $(QUIET_LINK)$(CC) $(OBJTOOL_IN) $(LDFLAGS) -o $@