]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
testsuite: search for kernel config in /boot
authorAsbjørn Sloth Tønnesen <asbjorn@asbjorn.st>
Wed, 15 Feb 2017 21:26:42 +0000 (21:26 +0000)
committerStephen Hemminger <sthemmin@microsoft.com>
Fri, 17 Feb 2017 23:26:30 +0000 (15:26 -0800)
Add support for finding the kernel config in Debian
and derivatives.

Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st>
testsuite/Makefile

index fc6933689b244efcd9ced95c90731d9c08785a7f..055136b52683615e0ed1fca29b7501dadcabcacf 100644 (file)
@@ -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)