]> git.ipfire.org Git - thirdparty/kmod.git/blobdiff - testsuite/module-playground/Makefile
libkmod, depmod, modprobe: Make directory for kernel modules configurable
[thirdparty/kmod.git] / testsuite / module-playground / Makefile
index e6045b0dd9326b131cc54ab478c48ab0f6abae71..a7ab09bea2bfa5ccaca5e2c0642301c115c82d24 100644 (file)
@@ -47,7 +47,7 @@ endif
 
 else
 # normal makefile
-KDIR ?= /lib/modules/`uname -r`/build
+KDIR ?= $(module_prefix)/lib/modules/`uname -r`/build
 KVER ?= `uname -r`
 ifeq ($(FAKE_BUILD),)
     FAKE_BUILD=0