summaryrefslogtreecommitdiff
path: root/nuttx/arch/pjrc-8051/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/pjrc-8051/src/Makefile')
-rw-r--r--nuttx/arch/pjrc-8051/src/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/nuttx/arch/pjrc-8051/src/Makefile b/nuttx/arch/pjrc-8051/src/Makefile
index 5d95b2f78..d77bf546d 100644
--- a/nuttx/arch/pjrc-8051/src/Makefile
+++ b/nuttx/arch/pjrc-8051/src/Makefile
@@ -211,9 +211,8 @@ clean:
@if [ -e board/Makefile ]; then \
$(MAKE) -C board TOPDIR=$(TOPDIR) clean ; \
fi
- rm -f libarch$(LIBEXT) up_mem.h
- rm -f *.asm *.rel *.lst *.rst *.sym *.adb *.lnk *.map *.mem *.ihx *.hex *~
- if [ ! -z "$(OBJEXT)" ]; then rm -f *$(OBJEXT); fi
+ @rm -f libarch$(LIBEXT) up_mem.h *~ .*.swp
+ $(call CLEAN)
distclean: clean
@if [ -e board/Makefile ]; then \