mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Fixes for kernel stub builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3473 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+18
-5
@@ -123,18 +123,31 @@ endif
|
||||
|
||||
depend: .depend
|
||||
|
||||
# Clean Targets:
|
||||
# Clean user-mode temporary files (retaining the UBIN binary)
|
||||
|
||||
uclean:
|
||||
@rm -f $(UBIN) .userlib *~ .*.swp
|
||||
$(call CLEAN)
|
||||
ifneq ($(OBJEXT),)
|
||||
@( if [ -f .userlib ]; then rm -f *$(OBJEXT); fi )
|
||||
endif
|
||||
@rm -f .userlib *~ .*.swp
|
||||
|
||||
# Clean kernel-mode temporary files (retaining the KBIN binary)
|
||||
|
||||
kclean:
|
||||
@rm -f $(KBIN) .kernlib *~ .*.swp
|
||||
$(call CLEAN)
|
||||
ifneq ($(OBJEXT),)
|
||||
@( if [ -f .kernlib ]; then rm -f *$(OBJEXT); fi )
|
||||
endif
|
||||
@rm -f .kernlib *~ .*.swp
|
||||
|
||||
# Really clean everything
|
||||
|
||||
clean: uclean kclean
|
||||
@rm -f $(BIN) *~ .*.swp
|
||||
@rm -f $(BIN) $(UBIN) $(KBIN) *~ .*.swp
|
||||
$(call CLEAN)
|
||||
|
||||
# Deep clean -- removes all traces of the configuration
|
||||
|
||||
distclean: clean
|
||||
@rm -f Make.dep .depend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user