mirror of
https://github.com/dynup/kpatch
synced 2025-02-10 05:56:52 +00:00
fix KPATCH_BUILD path
use the build symlink in /lib/modules for a more portable path to the build env for the kernel. Signed-off-by: Seth Jennings <sjenning@redhat.com>
This commit is contained in:
parent
e33695be27
commit
2419410a52
@ -1,5 +1,5 @@
|
||||
# make rules
|
||||
KPATCH_BUILD ?= /usr/src/kernels/$(shell uname -r)
|
||||
KPATCH_BUILD ?= /lib/modules/$(shell uname -r)/build
|
||||
THISDIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
ifeq ($(wildcard $(KPATCH_BUILD)),)
|
||||
|
Loading…
Reference in New Issue
Block a user