Export LVGL canvas symbols for side-loaded GameBoy app

This commit is contained in:
Hermes Reyna Bot
2026-07-17 18:10:52 -04:00
parent 94b5cdbfc4
commit 047c7c87d7
3 changed files with 82 additions and 5 deletions
+1 -5
View File
@@ -100,17 +100,13 @@ endif ()
#
# Devicetree code generation
#
add_custom_target(AlwaysRun
COMMAND ${CMAKE_COMMAND} -E rm -f "${GENERATED_DIR}/devicetree.c"
)
add_custom_command(
OUTPUT "${GENERATED_DIR}/devicetree.c"
"${GENERATED_DIR}/devicetree.h"
COMMAND python "${CMAKE_SOURCE_DIR}/Buildscripts/DevicetreeCompiler/compile.py"
"${DEVICETREE_LOCATION}" "${GENERATED_DIR}"
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
DEPENDS AlwaysRun "${DEVICETREE_LOCATION}/devicetree.yaml" # AlwaysRun ensures it always gets built
DEPENDS "${DEVICETREE_LOCATION}/devicetree.yaml"
COMMENT "Generating devicetree source files..."
)
add_custom_target(Generated DEPENDS "${GENERATED_DIR}/devicetree.c")