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
1 changed files with 2 additions and 0 deletions

View File

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