diff --git a/cmake/modules/HexagonSDK.cmake b/cmake/modules/HexagonSDK.cmake index e74898a6609f..9196396646c2 100644 --- a/cmake/modules/HexagonSDK.cmake +++ b/cmake/modules/HexagonSDK.cmake @@ -168,6 +168,10 @@ function(_get_hexagon_sdk_property_impl "${_hexagon_sdk_root}/rtos/qurt/${_hexarch_dir}/include/qurt" "${_hexagon_sdk_root}/ipc/fastrpc/rtld/ship/${_rtld_dir}" ) + _check_path_exists("${_hexagon_sdk_root}/ipc/fastrpc/rtld/ship/inc" _sdk_dlfcn) + if(_sdk_dlfcn) + list(APPEND _dirs "${_hexagon_sdk_root}/ipc/fastrpc/rtld/ship/inc") + endif() elseif(_property STREQUAL "QURT_LIB") set(_dirs "${_hexagon_sdk_root}/rtos/qurt/${_hexarch_dir}/lib/pic") elseif(_property STREQUAL "RPCMEM_ROOT") diff --git a/src/runtime/hexagon/README.md b/src/runtime/hexagon/README.md index 118c72791778..6e68a4003475 100644 --- a/src/runtime/hexagon/README.md +++ b/src/runtime/hexagon/README.md @@ -65,6 +65,8 @@ CMAKE_CXX_COMPILER=hexagon-clang++ USE_HEXAGON=ON USE_HEXAGON_ARCH=v65|v66|v68|v69|v73 USE_HEXAGON_SDK=/path/to/sdk +USE_RPC=OFF +USE_LIBBACKTRACE=OFF ``` As mentioned before, only build the `runtime` component (e.g. `make runtime`).