Refactor makefile variables architecture.
[bertos.git] / bertos / cpu / arm / info / AT91SAM7S512.cdef
index ca8fabe1ed5da3ba2c56388604de67c5d2832a9e..4f3154c61035908e55b4865eed0e6da045e64d8f 100644 (file)
@@ -48,6 +48,6 @@ CPU_DESC += [ "512 Kbytes internal flash memory",
              "64 Kbytes internal SRAM memory" ]
 
 # GCC flags for this cpu.
-CPP_FLAGS += [ "-D__ARM_AT91SAM7S512__" ]
-LD_FLAGS += [ "-T " + SCRIPT_DIR + "at91sam7_512_rom.ld" ]
+MK_CPU_CPPFLAGS += " -D__ARM_AT91SAM7S512__"
+MK_LDFLAGS += " -T " + SCRIPT_DIR + "at91sam7_512_rom.ld"