diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-01-24 04:50:35 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-02-13 21:55:17 +0100 |
commit | d78302d1ec947665f9d880e25b3a7e79fb56fc0e (patch) | |
tree | b9d56e1b4ef5ae40e539a7a44b68651f43c078ee /src/compat/Kbuild.include | |
parent | socket: synchronize net on socket tear down (diff) | |
download | wireguard-monolithic-historical-d78302d1ec947665f9d880e25b3a7e79fb56fc0e.tar.xz wireguard-monolithic-historical-d78302d1ec947665f9d880e25b3a7e79fb56fc0e.zip |
compat: backport siphash & dst_cache from mainline
Diffstat (limited to 'src/compat/Kbuild.include')
-rw-r--r-- | src/compat/Kbuild.include | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include new file mode 100644 index 0000000..905e268 --- /dev/null +++ b/src/compat/Kbuild.include @@ -0,0 +1,11 @@ +ccflags-y += -include $(src)/compat/compat.h + +ifeq ($(wildcard $(srctree)/include/linux/siphash.h),) +ccflags-y += -I$(src)/compat/siphash/include +wireguard-y += compat/siphash/siphash.o +endif + +ifeq ($(wildcard $(srctree)/include/net/dst_cache.h),) +ccflags-y += -I$(src)/compat/dst_cache/include +wireguard-y += compat/dst_cache/dst_cache.o +endif |