Refactor makefile variables architecture.
[bertos.git] / bertos / cpu / arm / info / AT91SAM7X128.cdef
index 8c871d6df555e30fca82febd6ec84446ff9854bb..6b94b7764ecbc62ac7b50a515700f17d9592b05e 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_AT91SAM7X128__" ]
-LD_FLAGS += [ "-T " + SCRIPT_DIR + " at91sam7_128_rom.ld" ]
+MK_CPU_CPPFLAGS += " -D__ARM_AT91SAM7X128__"
+MK_LDFLAGS += " -T " + SCRIPT_DIR + "at91sam7_128_rom.ld"