tools/objtool/Makefile: don't assume sync-check.sh is executable
PATCH 4/4 tools/objtool/Makefile: don't assume sync-check.sh is executable
From: Andrew Morton <[email protected]>
Subject: 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 <[email protected]>
Reported-by Joakim Tjernlund <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
tools/objtool/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/objtool/Makefile renamed from tools/objtool/Makefile~tools-objtool-makefile-dont-assume-sync-checksh-is-executable +1 -1
@@ -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 $@
_