diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-03-27 15:42:42 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-03-27 15:42:42 +0000 |
commit | dfe689229df9afe9a3b7783b477ed82f9a521dbc (patch) | |
tree | 8df36ce9bed6d4b92051cad70481b1ee73404446 /package/nbd/nbd.mk | |
parent | 584e60c7972c6f720492c31f82715af9328eda06 (diff) | |
download | buildroot-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.mk | 5 |
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) |