xilsecure: Don't consider directory components in toolchain check
The makefile tries to detect gnu vs ARM toolchain by string-comparing the COMPILER with some hardcoded values. This fails when the toolchain is specified with directory components. Hence, remove directory components from the tests. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
This commit is contained in:
parent
97f9e315c6
commit
9383db5c21
1 changed files with 3 additions and 3 deletions
|
@ -35,13 +35,13 @@ ARCHIVER=
|
|||
CP=cp
|
||||
COMPILER_FLAGS=
|
||||
|
||||
ifeq ($(COMPILER) , arm-xilinx-eabi-gcc)
|
||||
ifeq ($(notdir $(COMPILER)) , arm-xilinx-eabi-gcc)
|
||||
EXTRA_ARCHIVE_FLAGS=rc
|
||||
else
|
||||
ifeq ($(COMPILER) , aarch64-none-elf-gcc)
|
||||
ifeq ($(notdir $(COMPILER)) , aarch64-none-elf-gcc)
|
||||
EXTRA_ARCHIVE_FLAGS=rc
|
||||
else
|
||||
ifeq ($(COMPILER) , arm-none-eabi-gcc)
|
||||
ifeq ($(notdir $(COMPILER)) , arm-none-eabi-gcc)
|
||||
EXTRA_ARCHIVE_FLAGS=rc
|
||||
else
|
||||
EXTRA_ARCHIVE_FLAGS=--create
|
||||
|
|
Loading…
Add table
Reference in a new issue