shithub: lwext4

Download patch

ref: 17fedd17fc0d9b1bf00dacdbe6834523db9abdb4
parent: 2d734d7ea8c9501e296bcd13cbecbf22396e5d5e
author: gkostka <kostka.grzegorz@gmail.com>
date: Sat Jun 27 20:16:12 EDT 2015

Set CMAKE_SYSTEM_NAME to Generic

--- a/toolchain/arm-sim.cmake
+++ b/toolchain/arm-sim.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 arm-sim)
 
 set(MCPU_FLAGS "")
@@ -6,4 +6,4 @@
 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)
--- 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")
--- 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")
--- 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")
--- a/toolchain/cortex-m3.cmake
+++ b/toolchain/cortex-m3.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-m3)
 
 set(MCPU_FLAGS "-mthumb -mcpu=cortex-m3")
@@ -6,4 +6,4 @@
 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)
--- 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")
--- 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")