patacongo edited a comment on issue #1880:
URL:
https://github.com/apache/incubator-nuttx/issues/1880#issuecomment-697545869
Aha... these bad directories are being created by configure.sh.
$ make distclean (and verify that there are no chip or board directories)
$ tools/configure.sh -c stm32f4discovery:nsh
$ find . -name board
./arch/arm/include/board
./arch/arm/src/board
./boards/arm/stm32/common/board
@v01d @btashton This is a consequence of several changes to the Makefiles
recently:
- The olddefconfig target used to invoke the clean_context target to remove
all residuals from the configuration
- The symbolic links are (probably) created because CONFIG_CYGWIN_WINTOOL
has not been selected yet in the configuration (it was initially a Linux
configuration). The .config included by the Makefile is the original defconfig
file and does not yet have the derived settings like CONFIG_CYGWIN_WINTOOL.=y.
So the Makefile runs without sufficient information.
- The logic that removes these links was removed from its correct location
in the clean_context target to the distclean target.
A possible fix would be to restore the 'make clean_context' and all
reconfigurations to eliminate this garbage from running the Makefile with an
incomplete configuration.
----------------------------------------------------------------
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]