ext4_journal: a more efficient way to track journalled blocks.
[lwext4.git] / toolchain / cortex-m0.cmake
index 90863d373dc0839ca484a923d121697cb92b42a4..0ad3d56b1a9d86bcc0f17a31335b11942f61f774 100644 (file)
@@ -1,8 +1,9 @@
-# Name of the target\r
-set(CMAKE_SYSTEM_NAME arm-none-eabi)\r
-set(CMAKE_SYSTEM_PROCESSOR cortex-m0)\r
-\r
-set(MCPU_FLAGS "-mthumb -mcpu=cortex-m0")\r
-set(VFP_FLAGS "")\r
-\r
+# Name of the target
+set(CMAKE_SYSTEM_NAME Generic)
+set(CMAKE_SYSTEM_PROCESSOR cortex-m0)
+
+set(MCPU_FLAGS "-mthumb -mcpu=cortex-m0")
+set(VFP_FLAGS "")
+set(LD_FLAGS "-nostartfiles")
+
 include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)
\ No newline at end of file