Makefile: allow alternative platforms, try make PLATFORM=foo

This commit is contained in:
Philippe Teuwen committed 2019-03-11 00:44:34 +01:00
1 parent 7f26ed6e9f
commit 119e3f0ed9
5 files changed
+112 -9

No files matched your search

+4 -4
View File
@@ -21,13 +21,13 @@ platform = $(shell uname)
all:
CROSS ?= arm-none-eabi-
CC = $(CROSS)gcc
AS = $(CROSS)as
LD = $(CROSS)ld
CC = $(CROSS)gcc
AS = $(CROSS)as
LD = $(CROSS)ld
OBJCOPY = $(CROSS)objcopy
GZIP=gzip
OBJDIR = obj
OBJDIR = obj
INCLUDE = -I../include -I../common -I.