Browse Source

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

sbg
Julian Oes 12 years ago
parent
commit
a19e0f2f9c
  1. 2
      Makefile

2
Makefile

@ -174,7 +174,7 @@ clean:
distclean: clean distclean: clean
$(Q) $(REMOVE) $(ARCHIVE_DIR)*.export $(Q) $(REMOVE) $(ARCHIVE_DIR)*.export
$(Q) make -C $(NUTTX_SRC) -r $(MQUIET) distclean $(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 # Print some help text

Loading…
Cancel
Save