Fix typol in Config.mk that would effect non-Windows builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5369 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
87ca1176ed
commit
9fbe2944ee
2 changed files with 19 additions and 7 deletions
12
Makefile.win
12
Makefile.win
|
|
@ -442,12 +442,12 @@ clean_context:
|
|||
$(call DELFILE include\nuttx\version.h)
|
||||
$(call DELFILE include\math.h)
|
||||
$(call DELFILE include\stdarg.h)
|
||||
$(Q) $(DIRUNLINK) include\arch\board
|
||||
$(Q) $(DIRUNLINK) include\arch\chip
|
||||
$(Q) $(DIRUNLINK) include\arch
|
||||
$(Q) $(DIRUNLINK) $(ARCH_SRC)\board
|
||||
$(Q) $(DIRUNLINK) $(ARCH_SRC)\chip
|
||||
$(Q) $(DIRUNLINK) include\apps
|
||||
$(call DELDIR include\arch\board)
|
||||
$(call DELDIR include\arch\chip)
|
||||
$(call DELDIR include\arch)
|
||||
$(call DELDIR $(ARCH_SRC)\board)
|
||||
$(call DELDIR $(ARCH_SRC)\chip)
|
||||
$(call DELDIR include\apps)
|
||||
|
||||
# check_context
|
||||
#
|
||||
|
|
|
|||
|
|
@ -182,11 +182,23 @@ define DELFILE
|
|||
$(Q) if exist $1 (del /f /q $1)
|
||||
endef
|
||||
else
|
||||
define CLEAN
|
||||
define DELFILE
|
||||
$(Q) rm -f $1
|
||||
endef
|
||||
endif
|
||||
|
||||
# DELDIR - Delect one directory
|
||||
|
||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||
define DELDIR
|
||||
$(Q) if exist $1 (rmdir /q /s $1)
|
||||
endef
|
||||
else
|
||||
define DELDIR
|
||||
$(Q) rm -rf $1
|
||||
endef
|
||||
endif
|
||||
|
||||
# CLEAN - Default clean target
|
||||
|
||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue