Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 48e2d89

Browse files
author
HONG Yifan
committed
ANDROID: Drop second argument from depmod.sh.
This partially reverts commit ee1b16e ("ANDROID: Kbuild: Add support for KBUILD_MIXED_TREE"). Now that with commit 214c0ee ("kbuild: add $(objtree)/ prefix to some in-kernel build artifacts"), System.map is found in $objtree already, so there is no need to set mixed-build-prefix any more. Bug: 402231876 Change-Id: Ic48bd2f48ea41dd086e72a9071921ef2a116b8a4 Signed-off-by: HONG Yifan <elsk@google.com>
1 parent 5e5a596 commit 48e2d89

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/Makefile.modinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ depmod: $(install-y)
143143
$(call cmd,depmod)
144144

145145
quiet_cmd_depmod = DEPMOD $(MODLIB)
146-
cmd_depmod = $(srctree)/scripts/depmod.sh $(KERNELRELEASE) $(mixed-build-prefix)
146+
cmd_depmod = $(srctree)/scripts/depmod.sh $(KERNELRELEASE)
147147
endif
148148

149149
else

scripts/depmod.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#
44
# A depmod wrapper
55

6-
if test $# -ne 1 -a $# -ne 2; then
7-
echo "Usage: $0 <kernelrelease> [System.map folder]" >&2
6+
if test $# -ne 1; then
7+
echo "Usage: $0 <kernelrelease>" >&2
88
exit 1
99
fi
1010

0 commit comments

Comments
 (0)