mirror of https://github.com/dynup/kpatch
kmod/core: require fentry
Only compile the core module if the compiler supports -mfentry.
This commit is contained in:
parent
27980527cd
commit
991b25b067
|
@ -19,5 +19,7 @@ clean:
|
|||
|
||||
|
||||
# kbuild rules
|
||||
ifdef CONFIG_HAVE_FENTRY
|
||||
obj-m := kpatch.o
|
||||
kpatch-y := core.o
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue