fix(wasm): non-deterministic hal_settings dependency ordering (#7627)
This commit is contained in:
+3
-1
@@ -62,7 +62,9 @@ endfunction()
|
||||
function(GenerateDatacopy source output)
|
||||
|
||||
set(GEN_DATACOPY ${RADIO_DIRECTORY}/util/generate_datacopy.py)
|
||||
set(GEN_DATACOPY_DEPEND ${CMAKE_CURRENT_SOURCE_DIR}/${source} ${GEN_DATACOPY})
|
||||
set(GEN_DATACOPY_DEPEND
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${source} ${GEN_DATACOPY}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/hal_settings.h)
|
||||
|
||||
# Fetch defines / include directories in use
|
||||
AddCompilerFlags(GEN_DATACOPY_ARGS)
|
||||
|
||||
@@ -225,7 +225,7 @@ if(STORAGE_MODELSLIST)
|
||||
add_definitions(-DSTORAGE_MODELSLIST)
|
||||
endif()
|
||||
|
||||
if(RTC_BACKUP_RAM)
|
||||
if(RTC_BACKUP_RAM AND NOT WASI)
|
||||
add_definitions(-DRTC_BACKUP_RAM)
|
||||
|
||||
GenerateDataCopy(datastructs_private.h datacopy.inc)
|
||||
|
||||
Reference in New Issue
Block a user