Skip to content

Commit 9501488

Browse files
committed
targetarch: remove arch detection logic as it is not needed at upm level
This removes the DETECTED_ARCH cmake variable and device arch detection module as this is irrelevant for UPM. Also removing toolchain files since they are not really needed by this project. Signed-off-by: Mihai Tudor Panu <[email protected]>
1 parent 8f3f2a7 commit 9501488

File tree

3 files changed

+0
-166
lines changed

3 files changed

+0
-166
lines changed

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,6 @@ set (upm_VERSION_MINOR ${VERSION_MINOR})
258258
set (upm_VERSION_PATCH ${VERSION_PATCH})
259259
set (upm_VERSION_STRING ${upm_VERSION_MAJOR}.${upm_VERSION_MINOR}.${upm_VERSION_PATCH})
260260

261-
# Detect arch
262-
include (TargetArch)
263-
target_architecture (DETECTED_ARCH)
264-
message (STATUS "Target arch is ${DETECTED_ARCH}")
265-
266261
# enable c++11 standards support unconditionally
267262
include(CheckCXXCompilerFlag)
268263
if (CMAKE_VERSION VERSION_LESS "3.1")

cmake/Toolchains/oe-sdk_cross.cmake

Lines changed: 0 additions & 25 deletions
This file was deleted.

cmake/modules/TargetArch.cmake

Lines changed: 0 additions & 136 deletions
This file was deleted.

0 commit comments

Comments
 (0)