diff options
author | Kir Kolyshkin <kir@openvz.org> | 2017-02-16 10:20:26 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@virtuozzo.com> | 2017-03-02 00:19:03 +0300 |
commit | 1510b248687f978e614b0bc8c08c0027c729c8a3 (patch) | |
tree | 3bc556203d7e7d340dd2bcdd8debd496945fc902 | |
parent | c4247302f7e9ac793abeb8f8e15bde8eed3959f4 (diff) |
nmk: clean gcov files, too
When criu is compiled with GCOV=1, .gc* files created are never
cleaned. While 'git clean -dxf' does the job and is popular
among the criu devs, it still feels good to have good ol'
make clean doing the right thing.
Reviewed-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
-rw-r--r-- | scripts/nmk/scripts/utils.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nmk/scripts/utils.mk b/scripts/nmk/scripts/utils.mk index 3a8ad62a5..bf841417c 100644 --- a/scripts/nmk/scripts/utils.mk +++ b/scripts/nmk/scripts/utils.mk @@ -19,7 +19,7 @@ uniq = $(strip $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1), objectify = $(foreach o,$(sort $(call uniq,$(1))),$(if $(filter /% ./% ../%,$(o)),$(o),$(obj)/$(o))) # To cleanup entries. -cleanify = $(foreach o,$(sort $(call uniq,$(1))),$(o) $(o:.o=.d) $(o:.o=.i) $(o:.o=.s)) +cleanify = $(foreach o,$(sort $(call uniq,$(1))),$(o) $(o:.o=.d) $(o:.o=.i) $(o:.o=.s) $(o:.o=.gcda) $(o:.o=.gcno)) # # Footer. |