Split cpu specific flags and files; modify mk template.
[bertos.git] / bertos / cpu / arm / info / AT91SAM7S128.cdef
index 1efaf1b2d5d424edcfb38af0d569f15f24fd9320..b825fa3f0d09c5419940bb799543be61e622a35f 100644 (file)
@@ -48,6 +48,6 @@ CPU_DESC += [ "128 Kbytes internal flash memory",
              "32 Kbytes internal SRAM memory" ]
 
 # GCC flags for this cpu.
-CPP_FLAGS += [ "-D__ARM_AT91SAM7S128__" ]
-LD_FLAGS += [ "-T " + SCRIPT_DIR + "at91sam7_128_rom.ld" ]
+MK_CPU_CPPFLAGS += " -D__ARM_AT91SAM7S128__"
+MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "at91sam7_128_rom.ld"