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/Makefile | |
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/Makefile')
-rw-r--r-- | src/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index 7873007..c054825 100644 --- a/src/Makefile +++ b/src/Makefile @@ -42,10 +42,12 @@ install: DKMS_TOP_LEVEL := Makefile Kbuild Kconfig $(filter-out wireguard.mod.c, $(wildcard *.c)) $(filter-out version.h, $(wildcard *.h)) version.h dkms.conf DKMS_SELFTEST_LEVEL := $(wildcard selftest/*.c) $(wildcard selftest/*.h) DKMS_CRYPTO_LEVEL := $(wildcard crypto/*.c) $(wildcard crypto/*.h) $(wildcard crypto/*.S) -dkms-install: $(DKMS_TOP_LEVEL) $(DKMS_SELFTEST_LEVEL) $(DKMS_CRYPTO_LEVEL) +DKMS_COMPAT_LEVEL := $(shell find compat/ -name '*.c' -o -name '*.h' -o -name '*.include') +dkms-install: $(DKMS_TOP_LEVEL) $(DKMS_SELFTEST_LEVEL) $(DKMS_CRYPTO_LEVEL) $(DKMS_COMPAT_LEVEL) @install -v -m0644 -D -t$(DESTDIR)$(DKMSDIR) $(DKMS_TOP_LEVEL) @install -v -m0644 -D -t$(DESTDIR)$(DKMSDIR)/selftest $(DKMS_SELFTEST_LEVEL) @install -v -m0644 -D -t$(DESTDIR)$(DKMSDIR)/crypto $(DKMS_CRYPTO_LEVEL) + @for file in $(DKMS_COMPAT_LEVEL); do install -v -m0644 -D $$file $(DESTDIR)$(DKMSDIR)/$$file; done tools: $(MAKE) -C tools @@ -55,7 +57,7 @@ check: $(MAKE) -C tools check cloc: clean - cloc $(filter-out compat.h, $(wildcard *.c) $(wildcard *.h)) + cloc $(wildcard *.c) $(wildcard *.h) -include tests/debug.mk |