summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/e2fsprogs/e2fsprogs.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index fbadfb066..3931548bf 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -151,7 +151,16 @@ e2fsprogs-clean:
e2fsprogs-dirclean:
rm -rf $(E2FSPROGS_DIR)
-libuuid-dirclean:: e2fsprogs-dirclean
+libuuid-clean:
+ -$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(STAGING_DIR) LDCONFIG=true \
+ -C $(LIBUUID_DIR) uninstall
+ # make uninstall misses the includes
+ rm -rf $(STAGING_DIR)/usr/include/uuid
+ rm -f $(TARGET_DIR)/$(LIBUUID_TARGET_DIR)/$(LIBUUID_TARGET_BINARY)*
+ -$(MAKE1) -C $(LIBUUID_DIR) clean
+
+libuuid-source: e2fsprogs-source
+libuuid-dirclean: e2fsprogs-dirclean
#############################################################
#