From c1c7d8984cff08f030ae28488178be112e90c483 Mon Sep 17 00:00:00 2001 From: Filipe Brandenburger Date: Thu, 22 May 2014 11:18:00 -0700 Subject: [PATCH] make: clean up obj-ext-src-y objects on "make clean" This is needed for lib/rpc.pb-c.{d,o} to be removed by "make clean". Signed-off-by: Filipe Brandenburger Acked-by: Cyrill Gorcunov Acked-by: Andrew Vagin Signed-off-by: Pavel Emelyanov --- scripts/Makefile.build | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 2e18c3bd5..5ea61b702 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 ##