summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fw/CMakeLists.txt9
-rw-r--r--fw/src/index.html (renamed from fw/src/html/index.html)0
2 files changed, 6 insertions, 3 deletions
diff --git a/fw/CMakeLists.txt b/fw/CMakeLists.txt
index d07494b..cffb6a1 100644
--- a/fw/CMakeLists.txt
+++ b/fw/CMakeLists.txt
@@ -30,6 +30,9 @@ zephyr_linker_section(NAME http_resource_desc_http_service
KVMA RAM_REGION GROUP RODATA_REGION
SUBALIGN ${CONFIG_LINKER_ITERABLE_SUBALIGN})
-set(gen_dir ${ZEPHYR_BINARY_DIR}/include/generated/)
-set(source_file_index src/html/index.html)
-generate_inc_file_for_target(app ${source_file_index} ${gen_dir}/index.html.gz.inc --gzip)
+generate_inc_file_for_target(
+ app
+ src/index.html
+ ${ZEPHYR_BINARY_DIR}/include/generated/index.html.gz.inc
+ --gzip
+)
diff --git a/fw/src/html/index.html b/fw/src/index.html
index a7e3ce9..a7e3ce9 100644
--- a/fw/src/html/index.html
+++ b/fw/src/index.html