diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-03-27 15:42:42 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-03-27 15:42:42 +0000 |
commit | dfe689229df9afe9a3b7783b477ed82f9a521dbc (patch) | |
tree | 8df36ce9bed6d4b92051cad70481b1ee73404446 /package/sqlite | |
parent | 584e60c7972c6f720492c31f82715af9328eda06 (diff) | |
download | buildroot-novena-dfe689229df9afe9a3b7783b477ed82f9a521dbc.tar.gz buildroot-novena-dfe689229df9afe9a3b7783b477ed82f9a521dbc.zip |
buildroot: cleanup <package>-clean targets.
Based on input from Arndt Kritzner & Bernhard Fischer.
Diffstat (limited to 'package/sqlite')
-rw-r--r-- | package/sqlite/sqlite.mk | 8 |
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) |