summaryrefslogtreecommitdiffstats
path: root/kernel/Makefile
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2019-05-15 00:40:43 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2019-05-15 04:52:47 +0200
commitacb2ec3dd003b50b6fb5772057a08ec0dc45d42a (patch)
treec840a9b183a2c0d8fc82f1bca09d2f0ae79045a9 /kernel/Makefile
parentMerge tag 'backlight-next-5.2' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadlinux-acb2ec3dd003b50b6fb5772057a08ec0dc45d42a.tar.xz
linux-acb2ec3dd003b50b6fb5772057a08ec0dc45d42a.zip
kernel/Makefile: don't assume that kernel/gen_ikh_data.sh is executable
If the user downloads and applies patch-5.1.gz using patch(1), the x bit on kernel/gen_ikh_data.sh is not set. /bin/sh: 1: ./kernel/gen_ikh_data.sh: Permission denied Fix this by using CONFIG_SHELL. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--kernel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
index 298437bb2c6a..33824f0385b3 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -127,7 +127,7 @@ $(obj)/config_data.gz: $(KCONFIG_CONFIG) FORCE
$(obj)/kheaders.o: $(obj)/kheaders_data.tar.xz
quiet_cmd_genikh = CHK $(obj)/kheaders_data.tar.xz
-cmd_genikh = $(srctree)/kernel/gen_ikh_data.sh $@
+cmd_genikh = $(CONFIG_SHELL) $(srctree)/kernel/gen_ikh_data.sh $@
$(obj)/kheaders_data.tar.xz: FORCE
$(call cmd,genikh)