Add support for finding the kernel config in Debian
and derivatives.

Signed-off-by: Asbjørn Sloth Tønnesen <asbj...@asbjorn.st>
---
 testsuite/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/Makefile b/testsuite/Makefile
index fc693368..055136b5 100644
--- a/testsuite/Makefile
+++ b/testsuite/Makefile
@@ -17,7 +17,7 @@ ifneq (,$(wildcard /proc/config.gz))
        KENV := $(shell cat /proc/config.gz | gunzip | grep ^CONFIG)
 else
 KVER := $(shell uname -r)
-KCPATHS := /lib/modules/$(KVER)/config
+KCPATHS := /lib/modules/$(KVER)/config /boot/config-$(KVER)
 KCPATH := $(firstword $(wildcard $(KCPATHS)))
 ifneq (,$(KCPATH))
        KENV := $(shell cat ${KCPATH} | grep ^CONFIG)
-- 
2.11.0

Reply via email to