Under Cygwin, the following directories are not being removed by the distclean target:
arch/<arch>/include/board
arch/<arch>/include/chip
This was noted in apache/nuttx-testing#39
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 apparently not working under Cygwin:
$(Q) $(DIRUNLINK) include/arch/board
$(Q) $(DIRUNLINK) include/arch/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.
Under Cygwin, the following directories are not being removed by the distclean target:
This was noted in apache/nuttx-testing#39
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 apparently not working under Cygwin:
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.