~aleteoryx/muditaos

f9d7e2e82bc36ca3b0633edeec258a73b404dbd5 — Artur Śleszyński 4 years ago 79cbe15
[EGD-7031] Remove pureflash dep from disk img

The generated disk image does not require pureflash to be created.
1 files changed, 0 insertions(+), 4 deletions(-)

M cmake/modules/DiskImage.cmake
M cmake/modules/DiskImage.cmake => cmake/modules/DiskImage.cmake +0 -4
@@ 9,7 9,6 @@ function(add_image)

    if(NOT ${PROJECT_TARGET_NAME} STREQUAL "linux")
        set(HAS_BOOTFILE YES)
        set(RUNS_ON_HARDWARE YES)
    endif()

    set(SCRIPT_PATH ${CMAKE_SOURCE_DIR}/generate_image.sh)


@@ 29,9 28,6 @@ function(add_image)
    if(_ARG_ASSETS)
        list(APPEND COMMAND_DEPENDS ${_ARG_ASSETS})
    endif()
    if(RUNS_ON_HARDWARE)
        list(APPEND COMMAND_DEPENDS pureflash)
    endif()
    if(HAS_BOOTFILE)
        list(APPEND COMMAND_DEPENDS ${BIN_FILE_TARGET})
    endif()