[HELP] Recreating symlinks/switching directory (configure)
- Dominant language
- C
- Stars
- 4k
- Forks
- 1.7k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 237
Description
### Description
I'm new to NuttX and not sure where to find help. In this form it says: “Asking a question or getting help: use this form or [Mailing list](https://nuttx.apache.org/community/).” – over there it says: “[dev@nuttx.apache.org](mailto:dev@nuttx.apache.org) is for people who want to contribute code to NuttX.” 🤷🏼♂️
Also I was looking for a Matrix or Discord chat. Nothing...?
But now to my question; I'm assuming I have a fundamental misunderstanding regarding the configure phase, as I couldn't find anything related to my issue.
My `Make.defs` in the root (`nuttx`) folder is an absolute link to the selected board. Now, what do I do when my directory layout changes? I'm working in that tree from macOS, where it is located under `/Users/`, and also in a Linux devcontainer, where it is located under `/workspaces/`. **Edit:** (I run QEMU in the container and flash to hardware under macOS.)
How can I easily recreate all the symlinks to switch between the environments?
The only way I found so far was `git clean -fdx` and then run `configure` again, otherwise I get
```
$ ./tools/configure.sh -E -l esp32-devkitc:wifi
make: Entering directory '/workspaces/nuttx/nuttx'
tools/Unix.mk:27: /workspaces/nuttx/nuttx/Make.defs: No such file or directory
make: *** No rule to make target '/workspaces/nuttx/nuttx/Make.defs'. Stop.
make: Leaving directory '/workspaces/nuttx/nuttx'
```
...but that's not really sustainable.
### Verification
- [X] I have verified before submitting the report.
Contributor guide
Assessment
This issue has not been assessed yet.