patacongo commented on pull request #39:
URL:
https://github.com/apache/incubator-nuttx-testing/pull/39#issuecomment-697386077
>
>
> Great work, it will saves time in the future avoiding build breaks.
>
> I'm not really familiar with cygwin to understand the breakage. But I
suspect it has something to do with the script that handle symlinks. @patacongo
any ideas?
I never noticed, but yes it is a real problem. I have several old board and
and chip directories. We need to open an issue. These two lines in
arch/arm/src/Makefile (and other arch Makefiles) are 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]