Should the makefile warn if there isn't a valid APPDIR?
Open
Type: Bug
- Dominant language
- C
- Stars
- 4k
- Forks
- 1.7k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 237
Description
If you run the ./tools/configure.sh script without a ../apps folder or without setting APPDIR you get errors like below without any helpful reason what is going on. It took several minutes to figure it out.
```
nuttx$ ./tools/configure.sh olimex-stm32-e407:nsh
Copy files
Select CONFIG_HOST_LINUX=y
Refreshing...
make: the '-C' option requires a non-empty string argument
Usage: make [options] [target] ...
Options:
...
```
Thoughts on having the Makefile check for this folder to provide reasonable warning/error messages?
Contributor guide
Assessment
This issue has not been assessed yet.