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/bc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/bc') diff --git a/tools/bc/Makefile b/tools/bc/Makefile index 9e1b2ba336..ac6609e008 100644 --- a/tools/bc/Makefile +++ b/tools/bc/Makefile @@ -18,4 +18,8 @@ PKG_CPE_ID:=cpe:/a:gnu:bc include $(INCLUDE_DIR)/host-build.mk +define Host/Uninstall + -$(call Host/Compile/Default,uninstall) +endef + $(eval $(call HostBuild)) -- cgit v1.2.3