Skip to content

Commit 5896b3b

Browse files
MarshMilo100Zach Van Camp
and
Zach Van Camp
authored
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]>
1 parent bda1e86 commit 5896b3b

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

zephyr/CMakeLists.txt

+2
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

+5
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name: etl
22
build:
3-
cmake-ext: true
4-
kconfig-ext: true
3+
cmake: zephyr
4+
kconfig: zephyr/Kconfig

0 commit comments

Comments
 (0)