mirror of
https://github.com/ETLCPP/etl.git
synced 2026-10-28 18:07:10 +08:00
Add full West support for ETL (#1075)
This will allow ETL to be included via west in a zephyr build without any additional wrappers or external kconfigs. Signed-off-by: Zach Van Camp <zach.vancamp@etcconnect.com> Co-authored-by: Zach Van Camp <zach.vancamp@etcconnect.com> # Conflicts: # zephyr/module.yml
This commit is contained in:
parent
5a02c061e9
commit
99d899c11c
2
zephyr/CMakeLists.txt
Normal file
2
zephyr/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
||||
add_subdirectory_ifdef(CONFIG_ETL ${CMAKE_CURRENT_LIST_DIR}/.. etl)
|
||||
zephyr_link_interface_ifdef(CONFIG_ETL etl)
|
||||
5
zephyr/Kconfig
Normal file
5
zephyr/Kconfig
Normal file
@ -0,0 +1,5 @@
|
||||
config ETL
|
||||
bool "ETL (Embedded Template Library)"
|
||||
depends on CPP
|
||||
help
|
||||
This option enables the 'ETL' library.
|
||||
4
zephyr/module.yml
Normal file
4
zephyr/module.yml
Normal file
@ -0,0 +1,4 @@
|
||||
name: etl
|
||||
build:
|
||||
cmake: zephyr
|
||||
kconfig: zephyr/Kconfig
|
||||
Loading…
x
Reference in New Issue
Block a user