aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2011-06-15 16:15:47 -0400
committerMichal Marek <mmarek@suse.cz>2011-06-15 16:15:47 -0400
commit569658dddf276ceb0780776e7f5d61d9f8d8cb88 (patch)
treede2d961e1b3015860b256e1f32e149cfb847c907 /Makefile
parent37aa9a2eb4d9b1a4aec1fd18bb2bb6bca029de27 (diff)
kbuild: Call depmod.sh via shell
The script has the executable bit in git, but plain old patch(1) can't create executable files. Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 43509373f37a..67640639d8f3 100644
--- a/Makefile
+++ b/Makefile
@@ -1526,7 +1526,8 @@ quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN $(wildcard $(rm-files))
1526 1526
1527# Run depmod only if we have System.map and depmod is executable 1527# Run depmod only if we have System.map and depmod is executable
1528quiet_cmd_depmod = DEPMOD $(KERNELRELEASE) 1528quiet_cmd_depmod = DEPMOD $(KERNELRELEASE)
1529 cmd_depmod = $(srctree)/scripts/depmod.sh $(DEPMOD) $(KERNELRELEASE) 1529 cmd_depmod = $(CONFIG_SHELL) $(srctree)/scripts/depmod.sh $(DEPMOD) \
1530 $(KERNELRELEASE)
1530 1531
1531# Create temporary dir for module support files 1532# Create temporary dir for module support files
1532# clean it up only when building all modules 1533# clean it up only when building all modules