TimJTi commented on issue #16093:
URL: https://github.com/apache/nuttx/issues/16093#issuecomment-2769309204

   I had issues with this and ended up creating a traditional makefile with the 
paths declared etc. I still had some issues - can't remember what to be honest 
- so ended up relocating my custom apps directory as a "myapps" subdirectory of 
the main nuttx-apps tree and it has worked well since.
   
   Makefiles are not my strong point - by any stretch of the imagination - but 
I suspect that an out-of-tree custom apps folder needs to be specifically 
included in default NuttX makefiles/make.defs/whatever for it to play ball.
   
   Or there's some magic incantation needed in the custom apps make.defs that 
makes it all work - I just don't know.
   
   But, instead, perhaps there's a case for a new Kconfig entry in the Build 
Setup menus for `CONFIG_CUSTOM_APPSDIR` that is then included by default in the 
NuttX build? I can play with that and see if it works - but won't be for a 
couple of weeks as I'm going away for a short break.
   
   Not related to this, but I am also looking at how to include a custom file 
outside of the nuttx-apps tree but used by an in-tree app. That might be 
easiest with a `CONFIG_CUSTOM_APPINCDIR` which ties in with the above and why I 
am happy to try this out if it's a viable solution?


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to