Skip to content

Commit

Permalink
Merge pull request #2203 from skliper/fix633-tgt_system
Browse files Browse the repository at this point in the history
Fix #633, Explicit toolchain in sample target.cmake
  • Loading branch information
dzbaker committed Nov 23, 2022
2 parents 48dfae0 + ffca45a commit 6d9d7c5
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 56 deletions.
2 changes: 2 additions & 0 deletions cmake/sample_defs/targets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,12 @@ SET(MISSION_CPUNAMES cpu1)
SET(cpu1_PROCESSORID 1)
SET(cpu1_APPLIST ci_lab to_lab sch_lab)
SET(cpu1_FILELIST cfe_es_startup.scr)
SET(cpu1_SYSTEM i686-linux-gnu)

# CPU2 example. This is not built by default anymore but
# serves as an example of how one would configure multiple cpus.
SET(cpu2_PROCESSORID 2)
SET(cpu2_APPLIST ci_lab to_lab sch_lab)
SET(cpu2_FILELIST cfe_es_startup.scr)
SET(cpu2_SYSTEM i686-linux-gnu)

Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,4 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
# abstraction layers are built when using this toolchain
# Note that "pc-linux" works fine even though this is not technically a "pc"
SET(CFE_SYSTEM_PSPNAME "pc-linux")
SET(OSAL_SYSTEM_BSPTYPE "pc-linux")
SET(OSAL_SYSTEM_OSTYPE "posix")

25 changes: 0 additions & 25 deletions cmake/sample_defs/toolchain-cpu2.cmake

This file was deleted.

25 changes: 0 additions & 25 deletions cmake/sample_defs/toolchain-cpu3.cmake

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE NEVER)
# These variable settings are specific to cFE/OSAL and determines which
# abstraction layers are built when using this toolchain
SET(CFE_SYSTEM_PSPNAME "pc-linux")
SET(OSAL_SYSTEM_BSPNAME "pc-linux")
SET(OSAL_SYSTEM_OSTYPE "posix")

Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,4 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
# these settings are specific to cFE/OSAL and determines
# which abstraction layers are built when this toolchain is used
SET(CFE_SYSTEM_PSPNAME pc-linux)
SET(OSAL_SYSTEM_BSPTYPE pc-linux)
SET(OSAL_SYSTEM_OSTYPE posix)

0 comments on commit 6d9d7c5

Please sign in to comment.