Makefiles now searching for arm-none-eabi-gcc in path not assuming it's position in /usr/local for libusb.

This commit is contained in:
Piotr Esden-Tempski
2010-11-27 12:32:12 -08:00
committed by Felix Ruess
parent fa25350bc2
commit 424e1d8f29
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -58,12 +58,12 @@ MESSAGES_XML = $(CONF)/messages.xml
UBX_XML = $(CONF)/ubx.xml
XSENS_XML = $(CONF)/xsens_MTi-G.xml
TOOLS=$(PAPARAZZI_SRC)/sw/tools
HAVE_ARM_NONE_EABI_GCC := $(wildcard /usr/bin/arm-none-eabi-gcc)
HAVE_ARM_NONE_EABI_GCC := $(shell which arm-none-eabi-gcc)
ifeq ($(strip $(HAVE_ARM_NONE_EABI_GCC)),)
#ARMGCC=/opt/paparazzi/bin/arm-elf-gcc
ARMGCC=/usr/bin/arm-elf-gcc
else
ARMGCC=/usr/bin/arm-none-eabi-gcc
ARMGCC=$(HAVE_ARM_NONE_EABI_GCC)
endif