diff options
| author | gkostka <kostka.grzegorz@gmail.com> | 2015-06-28 00:16:12 +0200 |
|---|---|---|
| committer | gkostka <kostka.grzegorz@gmail.com> | 2015-06-28 00:16:12 +0200 |
| commit | 17fedd17fc0d9b1bf00dacdbe6834523db9abdb4 (patch) | |
| tree | 82c233ae5a86e6320403c84be53853403968a091 /toolchain | |
| parent | 2d734d7ea8c9501e296bcd13cbecbf22396e5d5e (diff) | |
Set CMAKE_SYSTEM_NAME to Generic
Diffstat (limited to 'toolchain')
| -rw-r--r-- | toolchain/arm-sim.cmake | 4 | ||||
| -rw-r--r-- | toolchain/avrxmega7.cmake | 2 | ||||
| -rw-r--r-- | toolchain/bf518.cmake | 2 | ||||
| -rw-r--r-- | toolchain/cortex-m0.cmake | 2 | ||||
| -rw-r--r-- | toolchain/cortex-m3.cmake | 4 | ||||
| -rw-r--r-- | toolchain/cortex-m4.cmake | 2 | ||||
| -rw-r--r-- | toolchain/msp430.cmake | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/toolchain/arm-sim.cmake b/toolchain/arm-sim.cmake index 9eeda95..1c372f3 100644 --- a/toolchain/arm-sim.cmake +++ b/toolchain/arm-sim.cmake @@ -1,9 +1,9 @@ # Name of the target
-set(CMAKE_SYSTEM_NAME arm-none-eabi)
+set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_SYSTEM_PROCESSOR arm-sim)
set(MCPU_FLAGS "")
set(VFP_FLAGS "")
set(LD_FLAGS "--specs=rdimon.specs -Wl,--start-group -lgcc -lc -lm -lrdimon -Wl,--end-group")
-include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)
\ No newline at end of file +include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)
diff --git a/toolchain/avrxmega7.cmake b/toolchain/avrxmega7.cmake index 876f811..e79a3c4 100644 --- a/toolchain/avrxmega7.cmake +++ b/toolchain/avrxmega7.cmake @@ -1,5 +1,5 @@ # Name of the target
-set(CMAKE_SYSTEM_NAME avr)
+set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_SYSTEM_PROCESSOR avrxmega7)
set(MCPU_FLAGS "-mmcu=avrxmega7")
diff --git a/toolchain/bf518.cmake b/toolchain/bf518.cmake index 69c4407..cc70862 100644 --- a/toolchain/bf518.cmake +++ b/toolchain/bf518.cmake @@ -1,5 +1,5 @@ # Name of the target
-set(CMAKE_SYSTEM_NAME bfin-elf)
+set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_SYSTEM_PROCESSOR bf518)
set(MCPU_FLAGS "-mcpu=bf518")
diff --git a/toolchain/cortex-m0.cmake b/toolchain/cortex-m0.cmake index 2536a87..ed702a0 100644 --- a/toolchain/cortex-m0.cmake +++ b/toolchain/cortex-m0.cmake @@ -1,5 +1,5 @@ # Name of the target
-set(CMAKE_SYSTEM_NAME arm-none-eabi)
+set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_SYSTEM_PROCESSOR cortex-m0)
set(MCPU_FLAGS "-mthumb -mcpu=cortex-m0")
diff --git a/toolchain/cortex-m3.cmake b/toolchain/cortex-m3.cmake index 0b60153..1376b5c 100644 --- a/toolchain/cortex-m3.cmake +++ b/toolchain/cortex-m3.cmake @@ -1,9 +1,9 @@ # Name of the target
-set(CMAKE_SYSTEM_NAME arm-none-eabi)
+set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_SYSTEM_PROCESSOR cortex-m3)
set(MCPU_FLAGS "-mthumb -mcpu=cortex-m3")
set(VFP_FLAGS "")
set(LD_FLAGS "-nostartfiles")
-include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)
\ No newline at end of file +include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)
diff --git a/toolchain/cortex-m4.cmake b/toolchain/cortex-m4.cmake index 0d06ec3..cc32aa6 100644 --- a/toolchain/cortex-m4.cmake +++ b/toolchain/cortex-m4.cmake @@ -1,5 +1,5 @@ # Name of the target
-set(CMAKE_SYSTEM_NAME arm-none-eabi)
+set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_SYSTEM_PROCESSOR cortex-m4)
set(MCPU_FLAGS "-mthumb -mcpu=cortex-m4")
diff --git a/toolchain/msp430.cmake b/toolchain/msp430.cmake index 7736c29..aaab41e 100644 --- a/toolchain/msp430.cmake +++ b/toolchain/msp430.cmake @@ -1,5 +1,5 @@ # Name of the target -set(CMAKE_SYSTEM_NAME msp430) +set(CMAKE_SYSTEM_NAME Generic) set(CMAKE_SYSTEM_PROCESSOR msp430g2210) set(MCPU_FLAGS "-mmcu=msp430g2210") |
