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

View File

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