zephyr/cmake/bintools/host-gnu/target.cmake
Anas Nashif bfb65b054c cmake: binutils: find binutils nm for host compiler
We need this to generate symbols from final binary.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-07-11 11:56:39 +02:00

16 lines
431 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_RANLIB ranlib )
find_program(CMAKE_READELF readelf)
find_program(CMAKE_NM nm)
find_program(CMAKE_GDB gdb )
# Include bin tool properties
include(${ZEPHYR_BASE}/cmake/bintools/gnu/target_bintools.cmake)