summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2017-11-18 11:26:08 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2017-11-22 12:13:08 +1100
commit8575ddc0b6b7892adff21e4c55c6bfcaa0066583 (patch)
tree2c3aa9deccf3a4d9807be55e9d71688fba1c9912
parente21252196ab480735c8b8f8b0913357c46e174c1 (diff)
downloadlinux-8575ddc0b6b7892adff21e4c55c6bfcaa0066583.tar.gz
linux-8575ddc0b6b7892adff21e4c55c6bfcaa0066583.tar.xz
tools/objtool/Makefile: don't assume sync-check.sh is executable
patch(1) loses the x bit. Kernel build breaks. Fixes: 3bd51c5a371de ("objtool: Move kernel headers/code sync check to a script") Cc: Ingo Molnar <mingo@kernel.org> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r--tools/objtool/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile
index 0f94af3ccaaa..10847b9a3fda 100644
--- a/tools/objtool/Makefile
+++ b/tools/objtool/Makefile
@@ -44,7 +44,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 $@