Skip to content

Commit 7cc2ed0

Browse files
committed
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
2 parents 8dac6be + 569658d commit 7cc2ed0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,8 @@ quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN $(wildcard $(rm-files))
15261526

15271527
# Run depmod only if we have System.map and depmod is executable
15281528
quiet_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)
15301531

15311532
# Create temporary dir for module support files
15321533
# clean it up only when building all modules

tools/perf/util/PERF-VERSION-GEN

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if test -d ../../.git -o -f ../../.git &&
2323
then
2424
VN=$(echo "$VN" | sed -e 's/-/./g');
2525
else
26-
VN=$(make -sC ../.. kernelversion)
26+
VN=$(MAKEFLAGS= make -sC ../.. kernelversion)
2727
fi
2828

2929
VN=$(expr "$VN" : v*'\(.*\)')

0 commit comments

Comments
 (0)