From d754a64aed7f29cbe917f2013cdaf2dda0407cb3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Wed, 15 Feb 2017 21:26:42 +0000 Subject: [PATCH] testsuite: search for kernel config in /boot MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add support for finding the kernel config in Debian and derivatives. Signed-off-by: Asbjørn Sloth Tønnesen --- 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.39.2