summaryrefslogtreecommitdiff
path: root/hw/bsp
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-02-10 23:45:24 +0700
committerhathach <[email protected]>2026-02-10 23:51:55 +0700
commit39b157d22f8a82264f07cdd31396c15b7a9c9e6d (patch)
tree1853a5a47d38442e1d70e3ba9a8a968736a04f73 /hw/bsp
parent4b8f476d52ab0bb518b851ba22323658fb978768 (diff)
add membrowse-upload target and use it in ci after build
Diffstat (limited to 'hw/bsp')
-rw-r--r--hw/bsp/family_support.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/bsp/family_support.cmake b/hw/bsp/family_support.cmake
index 335b56c72..57a323c4a 100644
--- a/hw/bsp/family_support.cmake
+++ b/hw/bsp/family_support.cmake
@@ -298,6 +298,11 @@ ${MEMBROWSE_EXE} report ${OPTION} $<TARGET_FILE:${TARGET}> \"$ld_scripts\"")
VERBATIM
)
+ if (NOT TARGET examples-membrowse-upload)
+ add_custom_target(examples-membrowse-upload)
+ endif ()
+ add_dependencies(examples-membrowse-upload ${TARGET}-membrowse-upload)
+
set_property(TARGET ${TARGET}-membrowse PROPERTY FOLDER ${TARGET})
set_property(TARGET ${TARGET}-membrowse-upload PROPERTY FOLDER ${TARGET})
endif ()