Skip to content

Commit ce2bfcd

Browse files
SebastianBoeAnas Nashif
authored andcommitted
cmake: Remove the PREBUILT_HOST_TOOLS variable
The PREBUILT_HOST_TOOLS variable was used during the CMake migration but is no longer documented or needed. As the docs demonstrate, adding tools to path is an easy way to find prebuilt host tools. Signed-off-by: Sebastian Boe <[email protected]>
1 parent 9f38d2a commit ce2bfcd

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

cmake/app/boilerplate.cmake

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,6 @@ execute_process(
7676
OUTPUT_FILE ${ZEPHYR_BINARY_DIR}/include/generated/syscall_macros.h
7777
)
7878

79-
if(NOT PREBUILT_HOST_TOOLS)
80-
set(PREBUILT_HOST_TOOLS $ENV{PREBUILT_HOST_TOOLS})
81-
set(PREBUILT_HOST_TOOLS ${PREBUILT_HOST_TOOLS} CACHE PATH "")
82-
if("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
83-
set(PREBUILT_HOST_TOOLS $ENV{ZEPHYR_BASE}/scripts/prebuilt)
84-
endif()
85-
endif()
86-
8779
if(NOT ZEPHYR_GCC_VARIANT)
8880
set(ZEPHYR_GCC_VARIANT $ENV{ZEPHYR_GCC_VARIANT})
8981
endif()

cmake/host-tools.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
include($ENV{ZEPHYR_BASE}/cmake/host-tools-zephyr.cmake)
22

3-
if(PREBUILT_HOST_TOOLS)
4-
list(APPEND CMAKE_PROGRAM_PATH ${PREBUILT_HOST_TOOLS}/kconfig)
5-
endif()
6-
73
# Search for the must-have program dtc on PATH and in
84
# TOOLCHAIN_HOME. Usually DTC will be provided by an SDK, but for
95
# SDK-less projects like gccarmemb, it is up to the user to install

0 commit comments

Comments
 (0)