Add Zephyr build system module.yml (#1074)

The Zephyr build system requires that modules have a `module.yml` file to specify where the module cmake and kconfig files are located. 
These can also be explicitly set as "external" meaning that they do not exist within the module tree, itself. These build file can still be specified elsewhere via cmake variables, explained more in-depth here: https://docs.zephyrproject.org/latest/develop/modules.html#modules-module-ext-root
This change makes it such that ETL can be included more easily in zephyr projects running on embedded systems. A similar change can be observed in the public nanopb repository, where the repo only requires its own `zephyr/module.yml` file to be found by the zephyr build system, but the kconfig and cmake additions can exist outside of the library repository.
This commit is contained in:
Zach Van Camp 2025-04-23 11:33:58 -05:00 committed by GitHub
parent a12dbbd911
commit bda1e8619d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
zephyr/module.yml Normal file
View File

@ -0,0 +1,4 @@
name: etl
build:
cmake-ext: true
kconfig-ext: true