bsp: a9: chnage in gcc makefile for compiler check

Modified cortexa9/gcc/Makefile to keep a correct check of a compiler
to update ECC_FLAGS to fix a bug introduced during new version creation
of BSP

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Reviewed-by: Anirudha Sarangi   <anirudh@xilinx.com>
This commit is contained in:
Kinjal Pravinbhai Patel 2015-07-23 12:11:02 +05:30 committed by Nava kishore Manne
parent 363baf34d9
commit 2645d56b26
2 changed files with 4 additions and 1 deletions

View file

@ -235,4 +235,7 @@
* 5.2 pkp 06/08/15 Modified cortexa9/gcc/translation_table.S to put a check for
* XPAR_PS7_DDR_0_S_AXI_BASEADDR to confirm if DDR is present or not and
* accordingly generate the translation table
* 5.2 pkp 23/07/15 Modified cortexa9/gcc/Makefile to keep a correct check of a compiler
* to update ECC_FLAGS to fix a bug introduced during new version creation
* of BSP.
*****************************************************************************************/

View file

@ -42,7 +42,7 @@ LIB=libxil.a
CC_FLAGS = $(subst -pg, -DPROFILING, $(COMPILER_FLAGS))
ECC_FLAGS = $(subst -pg, -DPROFILING, $(EXTRA_COMPILER_FLAGS))
ifeq ($(notdir $(CC))) , arm-xilinx-eabi-gcc)
ifeq (($(notdir $(CC))) , arm-xilinx-eabi-gcc)
ECC_FLAGS += -nostartfiles\
-march=armv7-a \
-mfloat-abi=soft \