summaryrefslogtreecommitdiffstats
path: root/package/libosip2
diff options
context:
space:
mode:
Diffstat (limited to 'package/libosip2')
-rw-r--r--package/libosip2/libosip2.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/package/libosip2/libosip2.mk b/package/libosip2/libosip2.mk
index c575755be..053ae78dd 100644
--- a/package/libosip2/libosip2.mk
+++ b/package/libosip2/libosip2.mk
@@ -67,12 +67,11 @@ libosip2: uclibc $(TARGET_DIR)/usr/lib/libosip2.so $(TARGET_DIR)/usr/lib/libosip
libosip2-source: $(DL_DIR)/$(LIBOSIP2_SOURCE)
libosip2-clean:
- @if [ -d $(LIBOSIP2_DIR)/Makefile ]; then \
- $(MAKE) -C $(LIBOSIP2_DIR) clean; \
- fi
- rm -f $(STAGING_DIR)/usr/lib/libosip2.*
- rm -f $(TARGET_DIR)/usr/lib/libosip2.*
-
+ -$(MAKE) -C $(LIBOSIP2_DIR) clean
+ -rm -f $(STAGING_DIR)/usr/lib/libosip2.*
+ -rm -f $(STAGING_DIR)/usr/lib/libosipparser2.*
+ -rm -f $(TARGET_DIR)/usr/lib/libosip2.*
+ -rm -f $(TARGET_DIR)/usr/lib/libosipparser2.*
libosip2-dirclean:
rm -rf $(LIBOSIP2_DIR)