cederom opened a new issue, #8578:
URL: https://github.com/apache/nuttx/issues/8578

   Hello world :-)
   
   I found a problem with initial configuration after some git remote renames 
and top `nuttxworkspace.git` directory. No clue why exactly :-)
   
   ```
   % git checkout master
   Switched to branch 'master'
   Your branch is up to date with 'origin/master'.
   octagon% git pull --all
   Fetching origin
   Fetching cederom
   Already up to date.
   
   % ./tools/configure.sh -E -B sim:nsh
   gmake: Entering directory '/XXX/nuttxworkspace.git/nuttx'
   tools/Unix.mk:33: /XXX/nuttxworkspace.git/nuttx/Make.defs: No such file or 
directory
   gmake: *** No rule to make target '/XXX/nuttxworkspace.git/nuttx/Make.defs'. 
 Stop.
   gmake: Leaving directory '/XXX/nuttxworkspace.git/nuttx'
   
   % gmake distclean
   tools/Unix.mk:33: /XXX/nuttxworkspace.git/nuttx/Make.defs: No such file or 
directory
   gmake: *** No rule to make target '/XXX/nuttxworkspace.git/nuttx/Make.defs'. 
 Stop.
   
   % gmake clean
   tools/Unix.mk:33: /XXX/nuttxworkspace.git/nuttx/Make.defs: No such file or 
directory
   gmake: *** No rule to make target '/XXX/nuttxworkspace.git/nuttx/Make.defs'. 
 Stop.
   
   % gmake
   tools/Unix.mk:33: /XXX/nuttxworkspace.git/nuttx/Make.defs: No such file or 
directory
   gmake: *** No rule to make target '/XXX/nuttxworkspace.git/nuttx/Make.defs'. 
 Stop.
   ```
   
   * Okay, so the `Make.defs` seems missing:
   
   ```
   % ls -al Make.defs
   lrwxr-xr-x  1 cederom  cederom  115 18 lut 23:18 Make.defs -> 
/XXX/nuttx.git/nuttx/tools/../boards/sim/sim/sim/scripts/Make.defs
   ```
   
   * Yup, thats the old directory location that does not exist.
   * So I have removed the `Make.defs` file.
   * `tools/configure.sh` script still complains file is missing.
   
   ```
   % ./tools/configure.sh -E -B sim:nsh
   gmake: Entering directory '/XXX/nuttxworkspace.git/nuttx'
   tools/Unix.mk:33: /XXX/nuttxworkspace.git/nuttx/Make.defs: No such file or 
directory
   ```
   
   Silly question: How to recreate this file? Isn't that the job of the 
`tools/configure.sh` script? :-)
   
   I am using `gmake` because on BSD `make` is the BSD make, while `gmake` is 
the GNU make that NuttX requires. Will try to fix that one day :-)


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to