tools: e2fsprogs: use standard make uninstall

There is no need to manually only remove 2 binaries during cleanup and
leave rest of the e2fsprogs installed stuff untouched, so instead use
make uninstall to do the cleanup.

Link: https://github.com/openwrt/openwrt/pull/15806
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Robert Marko 2024-06-25 19:45:12 +02:00
parent bd48ca1245
commit 215d5bbe4e

View File

@ -38,9 +38,8 @@ define Host/Prepare
rm -rf $(HOST_BUILD_DIR)/doc rm -rf $(HOST_BUILD_DIR)/doc
endef endef
define Host/Clean define Host/Uninstall
rm -f $(STAGING_DIR_HOST)/bin/e2fsck -$(call Host/Compile/Default,uninstall)
rm -f $(STAGING_DIR_HOST)/bin/tune2fs
endef endef
$(eval $(call HostBuild)) $(eval $(call HostBuild))