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/patchelf/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/patchelf') diff --git a/tools/patchelf/Makefile b/tools/patchelf/Makefile index 7c88f8dc45..4cf039c407 100644 --- a/tools/patchelf/Makefile +++ b/tools/patchelf/Makefile @@ -24,4 +24,8 @@ define Host/Install $(INSTALL_BIN) $(HOST_BUILD_DIR)/src/patchelf $(STAGING_DIR_HOST)/bin/patchelf endef +define Host/Clean + rm -rf $(STAGING_DIR_HOST)/bin/patchelf +endef + $(eval $(call HostBuild)) -- cgit v1.2.3