[CRIU] [PATCH 1/6] make: clean up obj-ext-src-y objects on "make clean"

Filipe Brandenburger filbranden at google.com
Thu May 22 11:18:00 PDT 2014


This is needed for lib/rpc.pb-c.{d,o} to be removed by "make clean".

Signed-off-by: Filipe Brandenburger <filbranden at google.com>
---
 scripts/Makefile.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 2e18c3bd51db..5ea61b702aa9 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -110,6 +110,7 @@ $(foreach file,						\
 			$(addprefix $(obj)/,$(notdir $(file:.o=))))))
 all-objs += $(__obj-ext-src-y)
 deps += $(__obj-ext-src-y:.o=.d)
+cleanup-y += $(__obj-ext-src-y) $(__obj-ext-src-y:.o=.d)
 endif
 
 ##
-- 
1.9.1.423.g4596e3a



More information about the CRIU mailing list