Give path to System.map to depmod, don't set KMODPATH

The "-e" option requires -E of -F. depmod doesn't use KMODPATH.
This commit is contained in:
Pavel Roskin 2014-09-16 21:52:44 -04:00
parent e8a57713f1
commit 28fc586124
1 changed files with 1 additions and 1 deletions

View File

@ -192,5 +192,5 @@ endif
.PHONY: depmod
depmod:
ifeq ($(DESTDIR),)
(export KMODPATH=$(KMODPATH); /sbin/depmod -ae $(KERNELRELEASE))
/sbin/depmod -aeF $(KERNELPATH)/System.map $(KERNELRELEASE)
endif