mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-28 04:55:22 +00:00
GNU/bintools abstraction completed. The following commands and flags are now available in bintools: - memusage - elfconvert - dissassembly - readelf - strip The bintools template has now been updated with more description which will be useful when adding support for more toolchains in future. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
15 lines
400 B
CMake
15 lines
400 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Configures binary tools as host GNU binutils
|
|
|
|
find_program(CMAKE_OBJCOPY objcopy)
|
|
find_program(CMAKE_OBJDUMP objdump)
|
|
find_program(CMAKE_AR ar )
|
|
find_program(CMAKE_RANLILB ranlib )
|
|
find_program(CMAKE_READELF readelf)
|
|
|
|
find_program(CMAKE_GDB gdb )
|
|
|
|
# Include bin tool properties
|
|
include(${ZEPHYR_BASE}/cmake/bintools/gnu/target_bintools.cmake)
|