summaryrefslogtreecommitdiffstats
path: root/package/nbd/nbd.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/nbd/nbd.mk
parent584e60c7972c6f720492c31f82715af9328eda06 (diff)
downloadbuildroot-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/nbd/nbd.mk')
-rw-r--r--package/nbd/nbd.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk
index 65432bf2f..80ee2b8b4 100644
--- a/package/nbd/nbd.mk
+++ b/package/nbd/nbd.mk
@@ -42,9 +42,8 @@ nbd: uclibc $(TARGET_DIR)/sbin/nbd-client
nbd-source: $(DL_DIR)/$(NBD_SOURCE)
nbd-clean:
- @if [ -d $(NBD_DIR)/Makefile ]; then \
- $(MAKE) -C $(NBD_DIR) clean; \
- fi
+ rm -f $(TARGET_DIR)/sbin/nbd-client
+ -$(MAKE) -C $(NBD_DIR) clean
nbd-dirclean:
rm -rf $(NBD_DIR)