[openwrt/openwrt] tools: e2fsprogs: use standard make uninstall
LEDE Commits
lede-commits at lists.infradead.org
Wed Jun 26 02:21:12 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/215d5bbe4e9715555e6ccffcf99264c5e89bd470
commit 215d5bbe4e9715555e6ccffcf99264c5e89bd470
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Tue Jun 25 19:45:12 2024 +0200
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 at gmail.com>
---
tools/e2fsprogs/Makefile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/e2fsprogs/Makefile b/tools/e2fsprogs/Makefile
index c4895add12..1025b7ec5e 100644
--- a/tools/e2fsprogs/Makefile
+++ b/tools/e2fsprogs/Makefile
@@ -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))
More information about the lede-commits
mailing list