aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-11 05:26:04 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-11 15:50:29 +0200
commit502498c4fc05ae9eaaf3db6014f38d0033085859 (patch)
treec0a882ebd596d5f920802762a7530ce67c241e67 /src/Makefile
parentreceive: disable bh before using stats seq lock (diff)
downloadwireguard-monolithic-historical-502498c4fc05ae9eaaf3db6014f38d0033085859.tar.xz
wireguard-monolithic-historical-502498c4fc05ae9eaaf3db6014f38d0033085859.zip
contrib: filter compat lines
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 0a9f734..f933eb1 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -68,7 +68,7 @@ coccicheck: clean
@$(MAKE) -C $(KERNELDIR) M=$(PWD) CONFIG_WIREGUARD_DEBUG=y coccicheck MODE=report
cloc: clean
- cloc $(wildcard *.c) $(wildcard *.h)
+ @cloc --skip-uniqueness --by-file --extract-with="$$(readlink -f ../contrib/kernel-tree/filter-compat-defines.sh) >FILE< > \$$(basename >FILE<)" $(wildcard *.c) $(wildcard *.h)
-include tests/debug.mk