From 6e145b38aed7e175470c30d313ebc57cdc63b6b2 Mon Sep 17 00:00:00 2001 From: Kinjal Pravinbhai Patel Date: Thu, 23 Jul 2015 12:11:03 +0530 Subject: [PATCH] bsp: r5: change in makefile for compiler check Modified cortexr5/gcc/Makefile to keep a correct check of a compiler to update ECC_FLAGS correctly. Signed-off-by: Kinjal Pravinbhai Patel Reviewed-by: Anirudha Sarangi --- lib/bsp/standalone/src/cortexr5/gcc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bsp/standalone/src/cortexr5/gcc/Makefile b/lib/bsp/standalone/src/cortexr5/gcc/Makefile index 43d81d94..e2396104 100644 --- a/lib/bsp/standalone/src/cortexr5/gcc/Makefile +++ b/lib/bsp/standalone/src/cortexr5/gcc/Makefile @@ -41,9 +41,9 @@ LIB=libxil.a CC_FLAGS = $(subst -pg, -DPROFILING, $(COMPILER_FLAGS)) ECC_FLAGS = $(subst -pg, -DPROFILING, $(EXTRA_COMPILER_FLAGS)) -ifeq ($(notdir $(CC))), armr5-none-eabi-gcc) +ifeq (($(notdir $(CC))), armr5-none-eabi-gcc) ECC_FLAGS += -nostartfiles\ - += -mfloat-abi=soft + -mfloat-abi=soft endif RELEASEDIR=../../../lib