Sblock fill by using to_le32/to_le_16 macros & drop gdt_reserved blocks
[lwext4.git] / toolchain / cortex-m4.cmake
index 697376a85f1f16e3f1f765c474525928fd96eb53..cc32aa66ab7fa948908a6e9c64be9b1a21af534d 100644 (file)
@@ -1,9 +1,9 @@
 # Name of the target\r
-set(CMAKE_SYSTEM_NAME arm-none-eabi)\r
+set(CMAKE_SYSTEM_NAME Generic)\r
 set(CMAKE_SYSTEM_PROCESSOR cortex-m4)\r
 \r
 set(MCPU_FLAGS "-mthumb -mcpu=cortex-m4")\r
 set(VFP_FLAGS "-mfloat-abi=hard -mfpu=fpv4-sp-d16")\r
-\r
+set(LD_FLAGS "-nostartfiles")\r
 \r
 include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)
\ No newline at end of file