diff --git a/kmod/core/Makefile b/kmod/core/Makefile index a47b7af..44e88c7 100644 --- a/kmod/core/Makefile +++ b/kmod/core/Makefile @@ -19,5 +19,7 @@ clean: # kbuild rules +ifdef CONFIG_HAVE_FENTRY obj-m := kpatch.o kpatch-y := core.o +endif