From 18fb450ce6a5b7d6907dd5b3055fdb45f4db7d06 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Fri, 27 Feb 2015 10:19:31 +0100 Subject: [PATCH] Use arm-none-eabi- compilation toolchain for embeded micro-controllers. No need of a GNU C library for Linux targets, these are not linux targets. arm-none-eabi- compilation toolchain is now in Debian GNU/Linux SID arm-none-eabi- is also the most common toolchain name for embedded ARM targets --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 009719c..4331d04 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ LPC = lpc1224 CPU = cortex-m0 ARCH = armv6-m -CROSS_COMPILE ?= arm-linux-gnueabi- +CROSS_COMPILE ?= arm-none-eabi- CC = $(CROSS_COMPILE)gcc FOPTS = -fno-builtin -ffunction-sections -fdata-sections -ffreestanding CFLAGS = -Wall -O2 -mthumb -mcpu=$(CPU) $(FOPTS) -- 2.43.0