zouboan opened a new pull request, #7572:
URL: https://github.com/apache/incubator-nuttx/pull/7572

   ## Summary
   These patch fine raised NuttX Windows native build!
   1. tools/mkdeps:Fix an error caused by do_shquote in Windows native build:
   do_shquote in Windows native build will give following error in mkdeps:
   `sparc-elf-gcc: '-fno-common': No such file or directory
   sparc-elf-gcc: '-Wall': No such file or directory
   sparc-elf-gcc: '-Wstrict-prototypes': No such file or directory
   sparc-elf-gcc: '-Wshadow': No such file or directory
   sparc-elf-gcc: '-Wundef': No such file or directory
   sparc-elf-gcc: '-fomit-frame-pointer': No such file or directory
   sparc-elf-gcc: '-g': No such file or directory
   sparc-elf-gcc: '-mcpu=leon': No such file or directory
   sparc-elf-gcc: '-isystem': No such file or directory`
   2. tools/Config:Fix some error caused by double quotation in Windows native 
build:
   The result of $(subst "X",,${shell $(INCDIR) "$(CC)" "X"}) will left an 
space double quotation:
   `-isystem **_""_**G:\NuttX\nuttx/include -D__NuttX__ -D__KERNEL__  -pipe -I 
**_""_**G:\NuttX\nuttx/libs/libc`
   3. tools/Config:Fix some error call DELFILE/DELDIR/CATFILE in Windows native 
build:
   There are so many .ddc in libc that `$(call CATFILE, bin/Make.dep, $^)` give 
an error: input line is too long in Windows native build. also $(call DELFILE, 
$^) give same error.
   4.libc and mm/Makefile:Fix an error caused by backslash in Windows native 
build:
   There is a comment in the libs/libc/Makefile and mm/Makefile of NuttX 8.2 :
   `# REVISIT: Backslash causes problems in $(COBJS) target
   DELIM := $(strip /)`  The `DELIM := $(strip /)` was removed thereafter, and 
resulted an error in $(COBJS) target in Windows native build.
   5. tools/Win.mk:Fix some error in clean_context in Windows native build:
   Error use of DIRUNLINK result failure in remove `include\arch\board  
\include\arch\chip
   include\arch    $(ARCH_SRC)\board\board  $(ARCH_SRC)\board  $(ARCH_SRC)\chip
    $(TOPDIR)\drivers\platform`
   6. `mkdir -p staging` Create dir 'p' while creating dir 'staging', and the 
dir 'p'  cant be remove when make distclean, which result failure of `mkdir -p 
staging`  in next bulid.
   ## Impact
   Windows native build
   ## Testing
   Configure + Build Windows native build
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to