ppisa commented on issue #18566:
URL: https://github.com/apache/nuttx/issues/18566#issuecomment-4642455846

   Thanks much @ghaerr for response and yes, exactly the approach with single 
define to choose config file source was in my mind
   ```
   #ifdef MWCONFIG
   #define INCFILE(name)   name
   #include INCFILE(MWCONFIG)
   #endif
   ```
   If you agree to add `MWCONFIG` or may it be `MWCONFIG_FILE` to the official 
Microwindows `mwconfig.h` then it would be great. I or @Acfboy can prepare pull 
request for this. I think that it could simplify even  other targets. I want to 
revive RTEMS again some (???spare???) day... This way we need only to export 
this single define into whole NuttX build. As for the list of files, I think 
that current (re)use of `Objects.rules` would work to move forward at this 
moment. And we will discuss alternatives, which could be even much better, 
latter. For me, the ideal development with NuttX for small, MMU-less, target is 
the build against NuttX export which is used as library, environment source for 
larger applications. There is problem with export of third party includes but I 
expect to look into it some 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