diff options
Diffstat (limited to 'package/iperf')
-rw-r--r-- | package/iperf/iperf.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/package/iperf/iperf.mk b/package/iperf/iperf.mk index 87f40a61e..731490274 100644 --- a/package/iperf/iperf.mk +++ b/package/iperf/iperf.mk @@ -58,9 +58,8 @@ iperf: $(TARGET_DIR)/usr/bin/iperf iperf-source: $(DL_DIR)/$(IPERF_SOURCE) iperf-clean: - @if [ -d $(IPERF_KDIR)/Makefile ]; then \ - $(MAKE) -C $(IPERF_DIR) clean; \ - fi + rm -f $(TARGET_DIR)/usr/bin/iperf + -$(MAKE) -C $(IPERF_DIR) clean iperf-dirclean: rm -rf $(IPERF_DIR) |