From 991b25b0672debd219979aa1c2dccd57d7781b8c Mon Sep 17 00:00:00 2001 From: Josh Poimboeuf Date: Tue, 15 Apr 2014 14:38:53 -0500 Subject: [PATCH] kmod/core: require fentry Only compile the core module if the compiler supports -mfentry. --- kmod/core/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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