summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-06-16 21:26:58 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-06-16 21:26:58 +0400
commit7cc2ed05891f424c2e323bc1a368ddb5c78b90f2 (patch)
treedb628f2dcbb51c0fe9ce15da5897c4ea1404be9f /Makefile
parent8dac6bee32425dd5145b40fa2307648cb7fb4d4a (diff)
parent569658dddf276ceb0780776e7f5d61d9f8d8cb88 (diff)
downloadlinux-7cc2ed05891f424c2e323bc1a368ddb5c78b90f2.tar.xz
Merge branch 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
* 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6: kbuild: Call depmod.sh via shell perf: clear out make flags when calling kernel make kernelver
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index badb9239e2bb..0499c2ee8541 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