Small fix for make distclean, Linux find doesn't seem to know the -depth n argument

This commit is contained in:
Julian Oes
2013-07-18 09:45:27 +02:00
parent 17445b0fbb
commit a19e0f2f9c
+1 -1
View File
@@ -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