kmod/core: require fentry

Only compile the core module if the compiler supports -mfentry.
This commit is contained in:
Josh Poimboeuf 2014-04-15 14:38:53 -05:00
parent 27980527cd
commit 991b25b067

View File

@ -19,5 +19,7 @@ clean:
# kbuild rules
ifdef CONFIG_HAVE_FENTRY
obj-m := kpatch.o
kpatch-y := core.o
endif