mirror of
https://github.com/dynup/kpatch
synced 2024-12-24 14:12:06 +00:00
Merge pull request #333 from goldyfruit/master
kmod/core/Makefile: update the Makefile for Debian Like
This commit is contained in:
commit
da45b84bbc
@ -3,7 +3,7 @@ KPATCH_BUILD ?= /lib/modules/$(shell uname -r)/build
|
||||
THISDIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
ifeq ($(wildcard $(KPATCH_BUILD)),)
|
||||
$(error $(KPATCH_BUILD) doesn\'t exist. Try installing the kernel-devel-$(shell uname -r) RPM.)
|
||||
$(error $(KPATCH_BUILD) doesn\'t exist. Try installing the kernel-devel-$(shell uname -r) RPM or linux-image-$(shell uname -r)-dbg DEB.)
|
||||
endif
|
||||
|
||||
KPATCH_MAKE = $(MAKE) -C $(KPATCH_BUILD) M=$(THISDIR)
|
||||
|
Loading…
Reference in New Issue
Block a user