ccache: also remove target symlinks on clean
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 4 Aug 2008 19:08:01 +0000 (19:08 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 4 Aug 2008 19:08:01 +0000 (19:08 -0000)
toolchain/ccache/ccache.mk

index 35585713d2f5b88d91f7b451a970b396243498e1..f51c14855413d61896b5af2a0fd5599e08a1e7de 100644 (file)
@@ -183,7 +183,8 @@ ccache_target: uclibc $(TARGET_DIR)/$(CCACHE_TARGET_BINARY)
 ccache_target-sources: $(DL_DIR)/$(CCACHE_SOURCE)
 
 ccache_target-clean:
-       rm -f $(TARGET_DIR)/$(CCACHE_TARGET_BINARY)
+       rm -f $(TARGET_DIR)/$(CCACHE_TARGET_BINARY) \
+             $(addprefix $(TARGET_DIR)/bin/,cc gcc c++ g++)
        -$(MAKE) -C $(CCACHE_DIR2) clean
 
 ccache_target-dirclean: