patacongo opened a new issue #1880:
URL: https://github.com/apache/incubator-nuttx/issues/1880


   Under Cygwin, the following directories are not being removed by the 
distclean target:
   
       arch/<arch>/src/board
       arch/<arch>/src/chip
   
   I have several old board and and chip directories left over from 
unsuccessful distclean operations on different architectures.  These two lines 
in arch/arm/src/Makefile (and other arch Makefiles) are not apparaently not 
working under Cygwin:
   
            $(Q) $(DIRUNLINK) $(ARCH_SRC)/board
            $(Q) $(DIRUNLINK) $(ARCH_SRC)/chip
   
   Cygwin supports is own style of symbolic links and these are used EXCEPT for 
the case where a Windows native toolchain is used such as the popular 
(https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm).
   
   Those are Window native tools and cannot follow non-standard Cygwin symbolic 
links so in this case, the tools/dirlinks.sh script does a full directory copy 
and the corresponding unlink script does a directory removal.
   
   Without knowing more, it looks like the DIRUNLINK is failing to remove the 
Cygwin symbolic link or the copied directory.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to