aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJulian Oes <julian@oes.ch>2013-07-18 09:45:27 +0200
committerJulian Oes <julian@oes.ch>2013-07-18 09:45:27 +0200
commita19e0f2f9c5678b3e1ae56fd48ec7c95eed36ba7 (patch)
tree8cd18648d26ecb6a7ef1a47ed338d89ff1fb358d /Makefile
parent17445b0fbb57708816a535b87611f439d6e63c31 (diff)
downloadpx4-firmware-a19e0f2f9c5678b3e1ae56fd48ec7c95eed36ba7.tar.gz
px4-firmware-a19e0f2f9c5678b3e1ae56fd48ec7c95eed36ba7.tar.bz2
px4-firmware-a19e0f2f9c5678b3e1ae56fd48ec7c95eed36ba7.zip
Small fix for make distclean, Linux find doesn't seem to know the -depth n argument
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9905f8a63..a703bef4c 100644
--- a/Makefile
+++ b/Makefile
@@ -174,7 +174,7 @@ clean:
distclean: clean
$(Q) $(REMOVE) $(ARCHIVE_DIR)*.export
$(Q) make -C $(NUTTX_SRC) -r $(MQUIET) distclean
- $(Q) (cd $(NUTTX_SRC)/configs && find . -type l -depth 1 -delete)
+ $(Q) (cd $(NUTTX_SRC)/configs && find . -maxdepth 1 -type l -delete)
#
# Print some help text