Most of the changes needed to support Windows native clean; distclean is has a problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
9d49b80e66
commit
756e84977b
12 changed files with 54 additions and 28 deletions
|
@ -221,13 +221,15 @@ clean:
|
|||
$(Q) if [ -e board/Makefile ]; then \
|
||||
$(MAKE) -C board TOPDIR=$(TOPDIR) clean ; \
|
||||
fi
|
||||
$(Q) rm -f libarch$(LIBEXT) up_mem.h *~ .*.swp
|
||||
$(call DELFILE libarch$(LIBEXT))
|
||||
$(call DELFILE up_mem.h)
|
||||
$(call CLEAN)
|
||||
|
||||
distclean: clean
|
||||
$(Q) if [ -e board/Makefile ]; then \
|
||||
$(MAKE) -C board TOPDIR=$(TOPDIR) distclean ; \
|
||||
fi
|
||||
rm -f Make.dep .depend
|
||||
$(call DELFILE Make.dep)
|
||||
$(call DELFILE .depend)
|
||||
|
||||
-include Make.dep
|
||||
|
|
|
@ -178,13 +178,14 @@ clean:
|
|||
ifeq ($(BOARDMAKE),y)
|
||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" clean
|
||||
endif
|
||||
$(Q) rm -f libarch$(LIBEXT) *~ .*.swp
|
||||
$(call DELFILE libarch$(LIBEXT))
|
||||
$(call CLEAN)
|
||||
|
||||
distclean: clean
|
||||
ifeq ($(BOARDMAKE),y)
|
||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
|
||||
endif
|
||||
$(Q) rm -f Make.dep .depend
|
||||
$(call DELFILE Make.dep)
|
||||
$(call DELFILE .depend)
|
||||
|
||||
-include Make.dep
|
||||
|
|
|
@ -171,14 +171,15 @@ clean:
|
|||
ifeq ($(BOARDMAKE),y)
|
||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" clean
|
||||
endif
|
||||
$(Q) rm -f libarch$(LIBEXT) *~ .*.swp
|
||||
$(call DELFILE libarch$(LIBEXT))
|
||||
$(call CLEAN)
|
||||
|
||||
distclean: clean
|
||||
ifeq ($(BOARDMAKE),y)
|
||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
|
||||
endif
|
||||
$(Q) rm -f Make.dep .depend
|
||||
$(call DELFILE Make.dep)
|
||||
$(call DELFILE .depend)
|
||||
|
||||
-include Make.dep
|
||||
|
||||
|
|
|
@ -166,13 +166,14 @@ clean:
|
|||
ifeq ($(BOARDMAKE),y)
|
||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" clean
|
||||
endif
|
||||
$(Q) rm -f libarch$(LIBEXT) *~ .*.swp
|
||||
$(call DELFILE libarch$(LIBEXT))
|
||||
$(call CLEAN)
|
||||
|
||||
distclean: clean
|
||||
ifeq ($(BOARDMAKE),y)
|
||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
|
||||
endif
|
||||
$(Q) rm -f Make.dep .depend
|
||||
$(call DELFILE Make.dep)
|
||||
$(call DELFILE .depend)
|
||||
|
||||
-include Make.dep
|
||||
|
|
|
@ -164,13 +164,14 @@ clean:
|
|||
ifeq ($(BOARDMAKE),y)
|
||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" clean
|
||||
endif
|
||||
$(Q) rm -f libarch$(LIBEXT) *~ .*.swp
|
||||
$(call DELFILE libarch$(LIBEXT))
|
||||
$(call CLEAN)
|
||||
|
||||
distclean: clean
|
||||
ifeq ($(BOARDMAKE),y)
|
||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
|
||||
endif
|
||||
$(Q) rm -f Make.dep .depend
|
||||
$(call DELFILE Make.dep)
|
||||
$(call DELFILE .depend)
|
||||
|
||||
-include Make.dep
|
||||
|
|
|
@ -96,12 +96,14 @@ export_head:
|
|||
depend: .depend
|
||||
|
||||
clean:
|
||||
@rm -f $(TOPDIR)/arch/rgmp/src/x86/*.o
|
||||
@rm -f $(TOPDIR)/kernel.img nuttx.img
|
||||
@rm -f libarch$(LIBEXT) *~ .*.swp
|
||||
$(call DELFILE "$(TOPDIR)/arch/rgmp/src/x86/*.o")
|
||||
$(call DELFILE "$(TOPDIR)/kernel.img")
|
||||
$(call DELFILE nuttx.img)
|
||||
$(call DELFILE libarch$(LIBEXT))
|
||||
$(call CLEAN)
|
||||
|
||||
distclean: clean
|
||||
@rm -f Make.dep .depend
|
||||
$(call DELFILE Make.dep)
|
||||
$(call DELFILE .depend)
|
||||
|
||||
-include Make.dep
|
||||
|
|
|
@ -161,13 +161,14 @@ clean:
|
|||
ifeq ($(BOARDMAKE),y)
|
||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" clean
|
||||
endif
|
||||
$(Q) rm -f libarch$(LIBEXT) *~ .*.swp
|
||||
$(call DELFILE libarch$(LIBEXT))
|
||||
$(call CLEAN)
|
||||
|
||||
distclean: clean
|
||||
ifeq ($(BOARDMAKE),y)
|
||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
|
||||
endif
|
||||
$(Q) rm -f Make.dep .depend
|
||||
$(call DELFILE Make.dep)
|
||||
$(call DELFILE .depend)
|
||||
|
||||
-include Make.dep
|
||||
|
|
|
@ -214,14 +214,16 @@ clean: cleanrel
|
|||
$(Q) if [ -e board/Makefile ]; then \
|
||||
$(MAKE) -C board TOPDIR="$(TOPDIR)" clean ; \
|
||||
fi
|
||||
$(Q) rm -f nuttx.rel libarch$(LIBEXT) *~ .*.swp
|
||||
$(call DELFILE nuttx.rel)
|
||||
$(call DELFILE libarch$(LIBEXT))
|
||||
$(call CLEAN)
|
||||
|
||||
distclean: clean
|
||||
$(Q) if [ -e board/Makefile ]; then \
|
||||
$(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \
|
||||
fi
|
||||
$(Q) rm -f Make.dep .depend
|
||||
$(call DELFILE Make.dep)
|
||||
$(call DELFILE .depend)
|
||||
$(Q) rm -rf GNU
|
||||
|
||||
-include Make.dep
|
||||
|
|
|
@ -172,13 +172,14 @@ clean:
|
|||
ifeq ($(BOARDMAKE),y)
|
||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" clean
|
||||
endif
|
||||
$(Q) rm -f libarch$(LIBEXT) *~ .*.swp
|
||||
$(call DELFILE libarch$(LIBEXT))
|
||||
$(call CLEAN)
|
||||
|
||||
distclean: clean
|
||||
ifeq ($(BOARDMAKE),y)
|
||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
|
||||
endif
|
||||
$(Q) rm -f Make.dep .depend
|
||||
$(call DELFILE Make.dep)
|
||||
$(call DELFILE .depend)
|
||||
|
||||
-include Make.dep
|
||||
|
|
|
@ -137,16 +137,20 @@ clean:
|
|||
$(Q) if [ -e board/Makefile ]; then \
|
||||
$(MAKE) -C board TOPDIR="$(TOPDIR)" clean ; \
|
||||
fi
|
||||
$(Q) rm -f libarch$(LIBEXT) *~ .*.swp
|
||||
ifeq ($(COMPILER),zneocc.exe)
|
||||
$(Q) rm -f nuttx.linkcmd *.asm *.tmp *.map
|
||||
$(call DELFILE nuttx.linkcmd)
|
||||
$(call DELFILE *.asm)
|
||||
$(call DELFILE *.tmp)
|
||||
$(call DELFILE *.map)
|
||||
endif
|
||||
$(call DELFILE libarch$(LIBEXT))
|
||||
$(call CLEAN)
|
||||
|
||||
distclean: clean
|
||||
$(Q) if [ -e board/Makefile ]; then \
|
||||
$(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \
|
||||
fi
|
||||
$(Q) rm -f Make.dep .depend
|
||||
$(call DELFILE Make.dep)
|
||||
$(call DELFILE .depend)
|
||||
|
||||
-include Make.dep
|
||||
|
|
|
@ -240,13 +240,19 @@ clean:
|
|||
$(Q) if [ -e board/Makefile ]; then \
|
||||
$(MAKE) -C board TOPDIR="$(TOPDIR)" clean ; \
|
||||
fi
|
||||
$(Q) rm -f libarch$(LIBEXT) up_mem.h asm_mem.h pass1.* nuttx.* *~ .*.swp
|
||||
$(call DELFILE up_mem.h)
|
||||
$(call DELFILE asm_mem.h)
|
||||
$(call DELFILE pass1.*)
|
||||
$(call DELFILE nuttx.*)
|
||||
$(call DELFILE libarch$(LIBEXT))
|
||||
$(call CLEAN)
|
||||
|
||||
|
||||
distclean: clean
|
||||
$(Q) if [ -e board/Makefile ]; then \
|
||||
$(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \
|
||||
fi
|
||||
$(Q) rm -f Make.dep .depend
|
||||
$(call DELFILE Make.dep)
|
||||
$(call DELFILE .depend)
|
||||
|
||||
-include Make.dep
|
||||
|
|
|
@ -150,14 +150,18 @@ clean:
|
|||
$(Q) if [ -e board/Makefile ]; then \
|
||||
$(MAKE) -C board TOPDIR="$(TOPDIR)" clean ; \
|
||||
fi
|
||||
$(Q) rm -f libarch$(LIBEXT) *~ .*.swp
|
||||
$(Q) rm -f nuttx.linkcmd *.asm *.tmp *.map
|
||||
$(call DELFILE nuttx.linkcmd)
|
||||
$(call DELFILE *.asm)
|
||||
$(call DELFILE *.tmp)
|
||||
$(call DELFILE *.map)
|
||||
$(call DELFILE libarch$(LIBEXT))
|
||||
$(call CLEAN)
|
||||
|
||||
distclean: clean
|
||||
$(Q) if [ -e board/Makefile ]; then \
|
||||
$(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \
|
||||
fi
|
||||
$(Q) rm -f Make.dep .depend
|
||||
$(call DELFILE Make.dep)
|
||||
$(call DELFILE .depend)
|
||||
|
||||
-include Make.dep
|
||||
|
|
Loading…
Reference in a new issue