trns1997 commented on PR #16976:
URL: https://github.com/apache/nuttx/pull/16976#issuecomment-3257412856

   When running:
   ```
   ./tools/configure.sh -E -l stm32f4discovery:nsh && make export -j8
   ```
   with set -e enabled, the build stops with:
   ```
   make: *** [tools/Unix.mk:781: export] Error 1
   ```
   Verbose output shows the actual failure:
   ```
   if [ -d "/home/thomas/nuttxspace/nuttx/nuttx-export-12.10.0/startup" ]; then 
\
     cp -f crt0.o 
"/home/thomas/nuttxspace/nuttx/nuttx-export-12.10.0/startup/."; \
   else \
     echo "/home/thomas/nuttxspace/nuttx/nuttx-export-12.10.0/startup does not 
exist"; \
     exit 1; \
   fi
   ```
   it’s because the startup/ directory inside the export tree is never created, 
and the script exits when it tries to copy crt0.o there.
   
   This looks to be the same root cause seen here in 
https://github.com/apache/nuttx/pull/16970#issuecomment-3254893411 . Hopefully 
solving this will resolve both problems :)


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