summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index d72aa48b8..d448b2a82 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -144,7 +144,7 @@ endif
BIN = nuttx$(EXEEXT)
all: $(BIN)
-.PHONY: clean context clean_context distclean
+.PHONY: context clean_context check_context subdir_clean clean subdir_distclean distclean
# Build the mkconfig tool used to create include/nuttx/config.h
tools/mkconfig:
@@ -268,7 +268,7 @@ subdir_clean:
@$(MAKE) -C tools -f Makefile.mkconfig TOPDIR="$(TOPDIR)" clean
@$(MAKE) -C mm -f Makefile.test TOPDIR="$(TOPDIR)" clean
-clean: subdir_clean
+clean: subdir_clean clean_context
@rm -f $(BIN) nuttx.* mm_test *.map *~
subdir_distclean:
@@ -278,7 +278,7 @@ subdir_distclean:
fi \
done
-distclean: clean subdir_distclean clean_context
+distclean: clean subdir_distclean
@rm -f Make.defs setenv.sh .config