Skip to content

Commit

Permalink
Merge pull request f4pga#1660 from antmicro/fix-merged-fasm-append
Browse files Browse the repository at this point in the history
devices.cmake: remove OUT_MERGED_FASM before appending fasm files
  • Loading branch information
acomodi committed Sep 14, 2020
2 parents b4934cd + b559fea commit 05d68df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/cmake/devices.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1061,14 +1061,14 @@ function(ADD_BITSTREAM_TARGET)
DEPENDS ${BITSTREAM_DEPS}
COMMAND
${CMAKE_COMMAND} -E make_directory ${OUT_LOCAL}
COMMAND cat ${ALL_OUT_FASM} >> ${OUT_FASM_MERGED}
COMMAND cat ${ALL_OUT_FASM} > ${OUT_FASM_MERGED}
COMMAND ${FASM_TO_BIT_CMD_FOR_TARGET_LIST}
)
else()
add_custom_command(
OUTPUT ${OUT_BITSTREAM}
DEPENDS ${BITSTREAM_DEPS}
COMMAND cat ${ALL_OUT_FASM} >> ${OUT_FASM_MERGED}
COMMAND cat ${ALL_OUT_FASM} > ${OUT_FASM_MERGED}
COMMAND ${FASM_TO_BIT_CMD_FOR_TARGET_LIST}
)
endif()
Expand Down

0 comments on commit 05d68df

Please sign in to comment.