diff options
Diffstat (limited to 'src/compat/Kbuild.include')
-rw-r--r-- | src/compat/Kbuild.include | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include index aacc9f6..688a573 100644 --- a/src/compat/Kbuild.include +++ b/src/compat/Kbuild.include @@ -31,3 +31,11 @@ ifeq ($(shell grep -F "int crypto_memneq" "$(srctree)/include/crypto/algapi.h"), ccflags-y += -include $(src)/compat/memneq/include.h wireguard-y += compat/memneq/memneq.o endif + +ifneq ($(KBUILD_EXTMOD),) +ifneq ($(CONFIG_SMP),) +ifeq (,$(filter $(CONFIG_PADATA),y m)) +wireguard-y += compat/padata/padata.o +endif +endif +endif |