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/libosip2 | |
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/libosip2')
-rw-r--r-- | package/libosip2/libosip2.mk | 11 |
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) |