Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 569658dd authored by Michal Marek's avatar Michal Marek
Browse files

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: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 37aa9a2e
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -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
# Run depmod only if we have System.map and depmod is executable
quiet_cmd_depmod = DEPMOD  $(KERNELRELEASE)
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
# Create temporary dir for module support files
# clean it up only when building all modules
# clean it up only when building all modules