Skip to content

Commit

Permalink
Give path to System.map to depmod, don't set KMODPATH
Browse files Browse the repository at this point in the history
The "-e" option requires -E of -F. depmod doesn't use KMODPATH.
  • Loading branch information
Pavel Roskin committed Sep 17, 2014
1 parent e8a5771 commit 28fc586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -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

0 comments on commit 28fc586

Please sign in to comment.