aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/Kbuild.include
blob: 905e268435d2fabc77ce90e97547c3fcb2c3efd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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