patacongo edited a comment on issue #1880:
URL:
https://github.com/apache/incubator-nuttx/issues/1880#issuecomment-697449496
The stranded directories are NOT the directory copies, but Cygwin symbolic
links:
$ ls -ld arch/arm/include/chip
lrwxrwxrwx 1 spuda spuda 83 Aug 30 10:09 arch/arm/include/chip ->
/cygdrive/d/Spuda/Documents/projects/nuttx/master/nuttx_fork/arch/arm/include/stm32
When I do
make distclean
tools/configures.sh -c stm32f4discovery:nsh
make context
I get the expected copied directories (because I am using the Arm Embedded
toolchain and CONFIG_CYGWIN_WINTOOL=y):
$ ls -ld include/arch
drwxrwxr-x+ 1 spuda spuda 0 Sep 23 08:43 include/arch
$ ls -ld include/arch/board
drwxrwxr-x+ 1 spuda spuda 0 Sep 23 08:43 include/arch/board
$ ls -ld include/arch/chip
ddrwxrwxr-x+ 1 spuda spuda 0 Sep 23 08:43 include/arch/chip
Bit I also get Cygwin Symbolic links:
$ ls -ld arch/arm/include/chip
lrwxrwxrwx 1 spuda spuda 83 Sep 23 08:42 arch/arm/include/chip ->
/cygdrive/d/Spuda/Documents/projects/nuttx/master/nuttx_fork/arch/arm/include/stm32
$ ls -ld arch/arm/include/board
lrwxrwxrwx 1 spuda spuda 102 Sep 23 08:42 arch/arm/include/board ->
/cygdrive/d/Spuda/Documents/projects/nuttx/master/nuttx_fork/boards/arm/stm32/stm32f4discovery/include
That should not be happening.
Doing 'make clean_context' does not remove any of those. That is an error.
'make clean_context' should undo everything that was done my 'make context'.
Apparently, somewhere along the way that critical part of the clean_context
target got moved to distclean, breaking the symmetry of the make targets.
----------------------------------------------------------------
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]