Refactor makefile variables architecture.
[bertos.git] / bertos / cpu / arm / info / AT91SAM7X256.cdef
index 4f78a995f398e507cccf668443c3705d4922140b..e0b8d8e7075626369d390343adb54f95331292f1 100644 (file)
@@ -48,6 +48,6 @@ CPU_DESC += [ "256 Kbytes internal flash memory",
              "64 Kbytes internal SRAM memory" ]
 
 # GCC flags for this cpu.
-CPP_FLAGS += [ "-D__ARM_AT91SAM7X256__" ]
-LD_FLAGS += [ "-T " + SCRIPT_DIR + "at91sam7_256_rom.ld" ]
+MK_CPU_CPPFLAGS += " -D__ARM_AT91SAM7X256__"
+MK_LDFLAGS += " -T " + SCRIPT_DIR + "at91sam7_256_rom.ld"