From f406b7280595e32e103ce35f5fe6a12ebfaf7d5b Mon Sep 17 00:00:00 2001 From: Harini Katakam Date: Sun, 19 Jul 2015 23:55:27 +0530 Subject: [PATCH] xilffs: Modify makefile to check for IAR compiler Modify makefile to check for IAR compiler to use --create and remove individual checks for all other compilers. Signed-off-by: Harini Katakam Reviewed-by: Anirudha Sarangi --- lib/sw_services/xilffs/src/Makefile | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/lib/sw_services/xilffs/src/Makefile b/lib/sw_services/xilffs/src/Makefile index a03b4d51..b610f7f1 100644 --- a/lib/sw_services/xilffs/src/Makefile +++ b/lib/sw_services/xilffs/src/Makefile @@ -35,21 +35,9 @@ ARCHIVER= CP=cp COMPILER_FLAGS= -ifeq ($(notdir $(COMPILER)) , arm-xilinx-eabi-gcc) - EXTRA_ARCHIVE_FLAGS=rc -else -ifeq ($(notdir $(COMPILER)), aarch64-none-elf-gcc) - EXTRA_ARCHIVE_FLAGS=rc -else -ifeq ($(notdir $(COMPILER)), arm-none-eabi-gcc) - EXTRA_ARCHIVE_FLAGS=rc -else +ifeq ($(notdir $(COMPILER)) , iccarm) EXTRA_ARCHIVE_FLAGS=--create -endif -endif -endif - -ifeq ($(COMPILER) , mb-gcc) +else EXTRA_ARCHIVE_FLAGS=rc endif