From a19e0f2f9c5678b3e1ae56fd48ec7c95eed36ba7 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Thu, 18 Jul 2013 09:45:27 +0200 Subject: [PATCH] Small fix for make distclean, Linux find doesn't seem to know the -depth n argument --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9905f8a63c..a703bef4cf 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