summaryrefslogtreecommitdiff
path: root/package/sqlite
diff options
context:
space:
mode:
Diffstat (limited to 'package/sqlite')
-rw-r--r--package/sqlite/sqlite.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk
index dd36ecfff..f6aa68f64 100644
--- a/package/sqlite/sqlite.mk
+++ b/package/sqlite/sqlite.mk
@@ -68,9 +68,11 @@ sqlite: uclibc readline-target ncurses $(TARGET_DIR)/usr/bin/sqlite3
sqlite-source: $(DL_DIR)/$(SQLITE_SOURCE)
sqlite-clean:
- @if [ -d $(SQLITE_DIR)/Makefile ]; then \
- $(MAKE) -C $(SQLITE_DIR) clean; \
- fi
+ -$(MAKE) -C $(SQLITE_DIR) clean
+ -rm -rf $(STAGING_DIR)/usr/lib/libsqlite*
+ -rm -rf $(STAGING_DIR)/usr/bin/sqlite3
+ -rm -rf $(TARGET_DIR)/usr/lib/libsqlite*
+ -rm -rf $(TARGET_DIR)/usr/bin/sqlite3
sqlite-dirclean:
rm -rf $(SQLITE_DIR)