summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-03-21 22:24:27 +0100
committerxengineering <me@xengineering.eu>2025-03-21 22:24:27 +0100
commitdc146be244c8063971d7b769f35c8c9991cf144a (patch)
tree157ab9aefa3af57e01080cdba8fe7b4881676d9f
parent2430e8557685a8af292ae82ca11ec59acb365390 (diff)
downloadiot-contact-dc146be244c8063971d7b769f35c8c9991cf144a.tar
iot-contact-dc146be244c8063971d7b769f35c8c9991cf144a.tar.zst
iot-contact-dc146be244c8063971d7b769f35c8c9991cf144a.zip
fw: html: Move HTML to src folder
-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