diff options
author | Michal Marek <mmarek@suse.cz> | 2011-06-15 22:15:47 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-06-15 22:15:47 +0200 |
commit | 569658dddf276ceb0780776e7f5d61d9f8d8cb88 (patch) | |
tree | de2d961e1b3015860b256e1f32e149cfb847c907 | |
parent | 37aa9a2eb4d9b1a4aec1fd18bb2bb6bca029de27 (diff) | |
download | linux-3.10-569658dddf276ceb0780776e7f5d61d9f8d8cb88.tar.gz linux-3.10-569658dddf276ceb0780776e7f5d61d9f8d8cb88.tar.bz2 linux-3.10-569658dddf276ceb0780776e7f5d61d9f8d8cb88.zip |
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>
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1526,7 +1526,8 @@ quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN $(wildcard $(rm-files)) # Run depmod only if we have System.map and depmod is executable quiet_cmd_depmod = DEPMOD $(KERNELRELEASE) - cmd_depmod = $(srctree)/scripts/depmod.sh $(DEPMOD) $(KERNELRELEASE) + cmd_depmod = $(CONFIG_SHELL) $(srctree)/scripts/depmod.sh $(DEPMOD) \ + $(KERNELRELEASE) # Create temporary dir for module support files # clean it up only when building all modules |