From 5eab59440bd60dce1fb2da1a226dde227efe5c36 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Sun, 7 Dec 2014 22:05:01 +0100 Subject: [PATCH] allow use of different cross-compiler on the command line --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4fb0aba..fea7b34 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ LPC = lpc1224 CPU = cortex-m0 ARCH = armv6-m -CROSS_COMPILE = arm-linux-gnueabi- +CROSS_COMPILE ?= arm-linux-gnueabi- CC = $(CROSS_COMPILE)gcc FOPTS = -fno-builtin -ffunction-sections -fdata-sections -ffreestanding CFLAGS = -Wall -O2 -mthumb -mcpu=$(CPU) $(FOPTS) -- 2.43.0