Split cpu specific flags and files; modify mk template.
[bertos.git] / bertos / cpu / arm / info / at91sam7.common
index b07163860ee35f299003532584ceee46b3ab0e9c..1f3f9cb8173cf7d589cf36eded96ba1dd08f2af8 100644 (file)
@@ -76,9 +76,9 @@ MK_DEBUG_SCRIPT = PRG_SCRIPTS_DIR + "arm/debug.sh"
 GDB_INIT_SCRIPT = PRG_SCRIPTS_DIR + "arm/openocd/gdbinit-sam7"
 
 # Common GCC flags.
-MK_CPPAFLAGS = "-O0 -g -gdwarf-2 -g -gen-debug"
+MK_CPU_CPPAFLAGS = "-O0 -g -gdwarf-2 -g -gen-debug"
 MK_CPU_CPPFLAGS = "-O0 -g3 -gdwarf-2 -fverbose-asm -I" + CPU_DIR + "arm/"
-MK_LDFLAGS = "-nostartfiles -Wl,--no-warn-mismatch"
+MK_CPU_LDFLAGS = "-nostartfiles -Wl,--no-warn-mismatch"
 
 # CRT file.
-MK_CPPASRC = HW_DIR + "crtat91sam7_rom.S"
+MK_CPU_CPPASRC = HW_DIR + "crtat91sam7_rom.S"