summaryrefslogtreecommitdiff
path: root/package/iperf/iperf.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-03-27 15:42:42 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-03-27 15:42:42 +0000
commitdfe689229df9afe9a3b7783b477ed82f9a521dbc (patch)
tree8df36ce9bed6d4b92051cad70481b1ee73404446 /package/iperf/iperf.mk
parent584e60c7972c6f720492c31f82715af9328eda06 (diff)
buildroot: cleanup <package>-clean targets.
Based on input from Arndt Kritzner & Bernhard Fischer.
Diffstat (limited to 'package/iperf/iperf.mk')
-rw-r--r--package/iperf/iperf.mk5
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)