extinguish opened a new pull request, #17922:
URL: https://github.com/apache/nuttx/pull/17922

   ## Summary
   
   Update the Green Hills linker‑script preprocessing step to automatically 
include the global C‑preprocessor options (such as -D defines and include 
paths) via CMake generator expressions:
   $<GENEX_EVAL:$<TARGET_PROPERTY:nuttx_global,NUTTX_CPP_COMPILE_OPTIONS>>
   
   ## Impact
   
   Ensures that linker scripts are preprocessed with the same macro definitions 
and include‑path settings as the rest of the NuttX source code.
   
   ## Testing
   
   Verified that the modified command line correctly expands to include all 
global CPP flags when building with the Green Hills toolchain.
   


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