Lines Matching +full:soc +full:-
1 # SPDX-License-Identifier: Apache-2.0
5 # Configure SoC settings based on Kconfig settings and SoC root.
8 # on Kconfig settings and selected SoC.
10 # If no implementation is available for the selected SoC an error will be raised.
15 # - SOC_NAME: Name of the SoC in use, identical to CONFIG_SOC
16 # - SOC_SERIES: Name of the SoC series in use, identical to CONFIG_SOC_SERIES
17 # - SOC_FAMILY: Name of the SoC family, identical to CONFIG_SOC_FAMILY
18 # - SOC_PATH: Path fragment defined by either SOC_NAME or SOC_FAMILY/SOC_SERIES.
19 # - SOC_DIR: Directory containing the SoC implementation
20 # - SOC_ROOT: SOC_ROOT with ZEPHYR_BASE appended
23 # - SOC_ROOT: CMake list of SoC roots containing SoC implementations
26 # use only and may be removed, renamed, or re-purposed without prior notice.
34 # found. It always includes ${ZEPHYR_BASE}/soc at the lowest priority.
48 # Use SOC to search for a 'CMakeLists.txt' file.
49 # e.g. zephyr/soc/xtensa/intel_adsp/CMakeLists.txt.
52 if(NOT IS_DIRECTORY "${root}/soc")
53 message(WARNING "\nSOC_ROOT element(s) without a 'soc' subdirectory:
56 …- if your SoC family directory is '/foo/bar/soc/<ARCH>/my_soc_family', then add '/foo/bar' to SOC_…
57 - if in doubt, use absolute paths\n")
60 if(EXISTS ${root}/soc/${ARCH}/${SOC_PATH})
61 set(SOC_DIR ${root}/soc)
67 message(FATAL_ERROR "Could not find SOC=${SOC_NAME} for BOARD=${BOARD},\n"
69 "SOC roots searched:\n"