Skip to content

Commit 99d899c

Browse files
MarshMilo100Zach Van Camp
authored andcommitted
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 <[email protected]> Co-authored-by: Zach Van Camp <[email protected]> # Conflicts: # zephyr/module.yml
1 parent 5a02c06 commit 99d899c

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

zephyr/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
add_subdirectory_ifdef(CONFIG_ETL ${CMAKE_CURRENT_LIST_DIR}/.. etl)
2+
zephyr_link_interface_ifdef(CONFIG_ETL etl)

zephyr/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
config ETL
2+
bool "ETL (Embedded Template Library)"
3+
depends on CPP
4+
help
5+
This option enables the 'ETL' library.

zephyr/module.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
name: etl
2+
build:
3+
cmake: zephyr
4+
kconfig: zephyr/Kconfig

0 commit comments

Comments
 (0)