From: Asbjørn Sloth Tønnesen Date: Thu, 18 Nov 2010 19:05:57 +0000 (+0000) Subject: Makefile: Add support for overriding PLATFORM X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=bb73af7b3a713ebbf4812801316f241ce8d702b9;p=rapper.git Makefile: Add support for overriding PLATFORM Usage: make PLATFORM=arm-stupid-eabi Signed-off-by: Asbjørn Sloth Tønnesen --- diff --git a/new_cmsis/Makefile b/new_cmsis/Makefile index d3af0b2..efcf2d9 100644 --- a/new_cmsis/Makefile +++ b/new_cmsis/Makefile @@ -1,5 +1,5 @@ PROJECT=rapper -PLATFORM=arm-none-eabi +PLATFORM ?= arm-none-eabi LDFLAGS=--gc-sections -g -T LPC1768-flash.ld CFLAGS=-W -Wall -Os --std=gnu99 -fgnu89-inline -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections -I. -g