Skip to content

Commit

Permalink
cmake: remove commented out code
Browse files Browse the repository at this point in the history
Remove commented out code which are no longer needed.
Code was made obsolete here and should have been removed at the time:
zephyrproject-rtos#24851

Signed-off-by: Torsten Rasmussen <[email protected]>
  • Loading branch information
tejlmand committed Aug 22, 2023
1 parent 250c6f5 commit 922c5dd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1586,7 +1586,6 @@ if(CONFIG_BUILD_OUTPUT_HEX OR BOARD_FLASH_RUNNER STREQUAL openocd)
list(APPEND
post_build_byproducts
${KERNEL_HEX_NAME}
# ${out_hex_byprod} # Is this needed ?
)
endif()
endif()
Expand All @@ -1608,7 +1607,6 @@ if(CONFIG_BUILD_OUTPUT_BIN)
list(APPEND
post_build_byproducts
${KERNEL_BIN_NAME}
# ${out_hex_byprod} # Is this needed ?
)
endif()
endif()
Expand Down Expand Up @@ -1690,8 +1688,6 @@ if(CONFIG_BUILD_OUTPUT_S19)
list(APPEND
post_build_byproducts
${KERNEL_S19_NAME}
# ${out_S19_byprod} # Is this needed ?

)
endif()
endif()
Expand All @@ -1714,7 +1710,6 @@ if(CONFIG_OUTPUT_DISASSEMBLE_ALL)
list(APPEND
post_build_byproducts
${KERNEL_LST_NAME}
# ${out_disassembly_byprod} # Needed ??
)
endif()

Expand All @@ -1734,7 +1729,6 @@ if(CONFIG_OUTPUT_SYMBOLS)
endif()

if(CONFIG_OUTPUT_STAT)
# zephyr_post_build(TOOLS bintools COMMAND readelf FLAGS headers INFILE file OUTFILE outfile)
list(APPEND
post_build_commands
COMMAND $<TARGET_PROPERTY:bintools,readelf_command>
Expand Down

0 comments on commit 922c5dd

Please sign in to comment.