From a63805b25f99e609d575ee920baae269fb58794c Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 28 Sep 2022 01:23:56 -0700 Subject: tools: add Host/Uninstall where possible This cleans staging_dir when calling tool/x/clean. Signed-off-by: Rosen Penev --- tools/sparse/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/sparse') diff --git a/tools/sparse/Makefile b/tools/sparse/Makefile index 549ec3a3cc..e08bd1d05f 100644 --- a/tools/sparse/Makefile +++ b/tools/sparse/Makefile @@ -21,4 +21,8 @@ define Host/Install $(INSTALL_BIN) $(HOST_BUILD_DIR)/sparse $(STAGING_DIR_HOST)/bin endef +define Host/Clean + rm -f $(STAGING_DIR_HOST)/bin/sparse +endef + $(eval $(call HostBuild)) -- cgit v1.2.3