mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-13 09:10:04 +00:00
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 <asbjorn@asbjorn.st>
This commit is contained in:
parent
3064a44c69
commit
d754a64aed
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user