mirror of
https://github.com/ETLCPP/etl.git
synced 2026-07-01 14:59:08 +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>
This commit is contained in:
parent
bda1e8619d
commit
5896b3b90e
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.
|
||||
@ -1,4 +1,4 @@
|
||||
name: etl
|
||||
build:
|
||||
cmake-ext: true
|
||||
kconfig-ext: true
|
||||
cmake: zephyr
|
||||
kconfig: zephyr/Kconfig
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user