Browse Source

libtool: don't error on missing directories in clean targets

Peter Korsgaard 17 years ago
parent
commit
681f7022fa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package/libtool/libtool.mk

+ 2 - 2
package/libtool/libtool.mk

@@ -90,7 +90,7 @@ endif
 libtool: uclibc $(TARGET_DIR)/$(LIBTOOL_TARGET_BINARY)
 libtool: uclibc $(TARGET_DIR)/$(LIBTOOL_TARGET_BINARY)
 
 
 libtool-clean:
 libtool-clean:
-	$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(LIBTOOL_DIR) uninstall
+	-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(LIBTOOL_DIR) uninstall
 	-$(MAKE) -C $(LIBTOOL_DIR) clean
 	-$(MAKE) -C $(LIBTOOL_DIR) clean
 
 
 libtool-cross: uclibc $(LIBTOOL_DIR)/$(LIBTOOL_BINARY)
 libtool-cross: uclibc $(LIBTOOL_DIR)/$(LIBTOOL_BINARY)
@@ -138,7 +138,7 @@ endif
 host-libtool: $(LIBTOOL)
 host-libtool: $(LIBTOOL)
 
 
 host-libtool-clean:
 host-libtool-clean:
-	$(MAKE) -C $(LIBTOOL_HOST_DIR) uninstall
+	-$(MAKE) -C $(LIBTOOL_HOST_DIR) uninstall
 	-$(MAKE) -C $(LIBTOOL_HOST_DIR) clean
 	-$(MAKE) -C $(LIBTOOL_HOST_DIR) clean
 
 
 host-libtool-dirclean:
 host-libtool-dirclean: