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 <harinik@xilinx.com> Reviewed-by: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
parent
e8f23f0aa5
commit
f406b72805
1 changed files with 2 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue