From: Pavel Roskin Date: Wed, 17 Sep 2014 01:52:44 +0000 (-0400) Subject: Give path to System.map to depmod, don't set KMODPATH X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=28fc5861246c1ffe1b000d2c8ed73ecc872eec06;p=madwifi%2F.git Give path to System.map to depmod, don't set KMODPATH The "-e" option requires -E of -F. depmod doesn't use KMODPATH. --- diff --git a/Makefile b/Makefile index 9ccab56..fa4e355 100644 --- a/Makefile +++ b/Makefile @@ -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