aviralgarg05 opened a new pull request, #3730:
URL: https://github.com/apache/nuttx-apps/pull/3730
## Summary
Add `Library.mk` for shared libraries declared with `LOCAL_MODULE` and
`LOCAL_SRC_FILES`. Convert the `sotest` modules and split its exported
messages
into a second source file to cover multi-source builds.
## Impact
Existing application builds are unchanged. Shared-library components may now
include `BUILD_SHARED_LIBRARY` instead of defining a one-source dynamic
application. The helper accepts C and C++ sources and supports per-module
compile and link flags.
## Testing
- `tools/checkpatch.sh -g upstream/master..HEAD`
- Clean `esp32s3-devkit:sotest` Make build with GCC 14.2.0
- Ran `sotest` on an ESP32-S3: both modules loaded, all exported functions
and
data resolved, the dependency checks passed, and both modules unloaded
- Built a mixed C/C++ two-source module and verified compiler-runtime linking
--
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]