34 lines
1 KiB
Diff
34 lines
1 KiB
Diff
|
From c8c7e01bd7c7cb5a0811efef88dfe6b40e009348 Mon Sep 17 00:00:00 2001
|
||
|
From: Andrew Morton <akpm@linux-foundation.org>
|
||
|
Date: Fri, 15 Dec 2017 11:22:35 +1100
|
||
|
Subject: [PATCH] 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>
|
||
|
---
|
||
|
tools/objtool/Makefile | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile
|
||
|
index ae0272f9a091..e6acc281dd37 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 $@
|
||
|
|
||
|
|
||
|
--
|
||
|
2.15.1
|
||
|
|