From dfe689229df9afe9a3b7783b477ed82f9a521dbc Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 27 Mar 2008 15:42:42 +0000 Subject: buildroot: cleanup -clean targets. Based on input from Arndt Kritzner & Bernhard Fischer. --- package/sqlite/sqlite.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'package/sqlite/sqlite.mk') 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) -- cgit v1.2.3