Skip to content

Commit c96dbf4

Browse files
JaagupAverinnashif
authored andcommitted
llvm: Export CMAKE_GDB during configuration.
Appears that llvm was forgotten when other toolchains got their CMAKE_GDB export. Signed-off-by: Jaagup Averin <[email protected]>
1 parent e22bd1d commit c96dbf4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/bintools/llvm/target.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,7 @@ find_program(CMAKE_READELF NAMES
3232
readelf
3333
${find_program_binutils_args})
3434

35+
find_program(CMAKE_GDB gdb PATHS ${find_program_binutils_args})
36+
3537
# Use the gnu binutil abstraction
3638
include(${ZEPHYR_BASE}/cmake/bintools/llvm/target_bintools.cmake)

0 commit comments

Comments
 (0)