Skip to content

Commit

Permalink
tools: e2fsprogs: use standard make uninstall
Browse files Browse the repository at this point in the history
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: openwrt#15806
Signed-off-by: Robert Marko <[email protected]>
  • Loading branch information
robimarko committed Jun 26, 2024
1 parent bd48ca1 commit 215d5bb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/e2fsprogs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ define Host/Prepare
rm -rf $(HOST_BUILD_DIR)/doc
endef

define Host/Clean
rm -f $(STAGING_DIR_HOST)/bin/e2fsck
rm -f $(STAGING_DIR_HOST)/bin/tune2fs
define Host/Uninstall
-$(call Host/Compile/Default,uninstall)
endef

$(eval $(call HostBuild))

0 comments on commit 215d5bb

Please sign in to comment.