From: Michal Marek Date: Wed, 15 Jun 2011 20:15:47 +0000 (+0200) Subject: kbuild: Call depmod.sh via shell X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~17254^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=569658dddf276ceb0780776e7f5d61d9f8d8cb88;hp=37aa9a2eb4d9b1a4aec1fd18bb2bb6bca029de27;p=mirror_ubuntu-artful-kernel.git 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 Signed-off-by: Michal Marek --- 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)) # 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