buildroot: cleanup <package>-clean targets.

Based on input from Arndt Kritzner & Bernhard Fischer.
This commit is contained in:
Peter Korsgaard
2008-03-27 15:42:42 +00:00
parent 584e60c797
commit dfe689229d
38 changed files with 94 additions and 92 deletions

View File

@@ -85,11 +85,11 @@ $(TARGET_DIR)/$(DMALLOC_TARGET_BINARY): $(DMALLOC_DIR)/$(DMALLOC_BINARY)
dmalloc: uclibc $(TARGET_DIR)/$(DMALLOC_TARGET_BINARY)
dmalloc-clean:
rm -f $(TARGET_DIR)/usr/lib/libdmalloc*
rm -f $(STAGING_DIR)/usr/lib/libdmalloc*
-rm -f $(TARGET_DIR)/usr/lib/libdmalloc*
-rm -f $(STAGING_DIR)/usr/lib/libdmalloc*
rm -f $(STAGING_DIR)/usr/include/dmalloc.h
rm -f $(TARGET_DIR)/$(DMALLOC_TARGET_BINARY)
$(MAKE) -C $(DMALLOC_DIR) clean
-$(MAKE) -C $(DMALLOC_DIR) clean
dmalloc-dirclean:
rm -rf $(DMALLOC_DIR)