diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-11 05:26:04 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-11 15:50:29 +0200 |
commit | f6369780a862037dca429d3dd7aa2f176e42d6dd (patch) | |
tree | d9d03104f60c6cc46722fb74199c1ad3612af2fe /src/Makefile | |
parent | f57c2d64bfc646c16fd1f30c8e3557183f8a5369 (diff) |
contrib: filter compat lines
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 2 |
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 |