From: Asbjørn Sloth Tønnesen Date: Wed, 15 Feb 2017 21:26:42 +0000 (+0000) Subject: testsuite: search for kernel config in /boot X-Git-Tag: v4.11.0~59^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d754a64aed7f29cbe917f2013cdaf2dda0407cb3;p=thirdparty%2Fiproute2.git testsuite: search for kernel config in /boot Add support for finding the kernel config in Debian and derivatives. Signed-off-by: Asbjørn Sloth Tønnesen --- diff --git a/testsuite/Makefile b/testsuite/Makefile index fc6933689..055136b52 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)