aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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