diff mbox

kbuild: Allow to use depmod from a non default install

Message ID 4AF7397D.2050202@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Carmelo Amoroso Nov. 8, 2009, 9:34 p.m. UTC
None
diff mbox

Patch

diff --git a/Makefile b/Makefile
index b4c04f7..f5286c4 100644
--- a/Makefile
+++ b/Makefile
@@ -316,7 +316,8 @@  OBJDUMP             = $(CROSS_COMPILE)objdump
 AWK            = awk
 GENKSYMS       = scripts/genksyms/genksyms
 INSTALLKERNEL  := installkernel
-DEPMOD         = /sbin/depmod
+DEPMOD_PATH    ?= /sbin
+DEPMOD         = $(DEPMOD_PATH)/depmod
 KALLSYMS       = scripts/kallsyms
 PERL           = perl
 CHECK          = sparse