gustavonihei opened a new pull request #630:
URL: https://github.com/apache/incubator-nuttx-apps/pull/630
## Summary
This PR intends to revert a change from PR #626 that introduced a regression
to the build system.
After a configuration change that triggers the build of additional source
files, `make` will fail to generate the correct list of dependencies, not
building the expected additional files and resulting in linker errors.
## Impact
Fix to the build system.
## Testing
Follow the steps to reproduce the issue:
```shell
$ ./tools/configure.sh -E sim:nsh
$ make
# First build terminates successfully
$ make menuconfig
# Disable "Hello, World!" example
$ make
```
It will result in the following error:
```shell
/usr/bin/ld: nuttx.rel:(.data.rel.ro+0x7b0): undefined reference to
`hello_main'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:322: nuttx] Error 1
```
--
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]