mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
build/nmk: add mrproper-y
This will separate clean process on two parts: - deleting binaries/objects/temp - deleting generated files Cc: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
46e48dc168
commit
19bd013a1e
@@ -13,6 +13,7 @@ builtin-name :=
|
||||
lib-name :=
|
||||
ld_flags :=
|
||||
cleanup-y :=
|
||||
mrproper-y :=
|
||||
|
||||
MAKECMDGOALS := $(call uniq,$(MAKECMDGOALS))
|
||||
|
||||
@@ -170,12 +171,18 @@ objlist:
|
||||
.PHONY: objlist
|
||||
|
||||
#
|
||||
# Clean everything up.
|
||||
# Clean most files, but leave enough to navigate with tags (generated files)
|
||||
clean:
|
||||
$(call msg-clean, $(obj))
|
||||
$(Q) $(RM) $(obj)/*.o $(obj)/*.d $(obj)/*.i $(obj)/*.s $(cleanup-y)
|
||||
.PHONY: clean
|
||||
|
||||
#
|
||||
# Delete all generated files
|
||||
mrproper: clean
|
||||
$(Q) $(RM) $(mrproper-y)
|
||||
.PHONY: mrproper
|
||||
|
||||
#
|
||||
# Footer.
|
||||
$(__nmk_dir)scripts/build.mk:
|
||||
|
Reference in New Issue
Block a user