mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
first look for compiler in /opt/paparazzi/arm-multilib then in ~/sat, try old arm-elf if arm-none-eabi not found
This commit is contained in:
@@ -65,7 +65,7 @@ OCAML=$(shell which ocaml)
|
||||
OCAMLRUN=$(shell which ocamlrun)
|
||||
|
||||
# try to find the paparazzi multilib toolchain
|
||||
TOOLCHAIN_DIR=$(shell find -L ~/sat /opt/paparazzi/arm-multilib -maxdepth 1 -type d -name arm-none-eabi 2>/dev/null | head -n 1 | xargs dirname )
|
||||
TOOLCHAIN_DIR=$(shell find -L /opt/paparazzi/arm-multilib ~/sat -maxdepth 1 -type d -name arm-none-eabi 2>/dev/null | head -n 1 | xargs dirname )
|
||||
ifneq ($(TOOLCHAIN_DIR),)
|
||||
#found the compiler from the paparazzi multilib package
|
||||
ARMGCC=$(TOOLCHAIN_DIR)/bin/arm-none-eabi-gcc
|
||||
|
||||
Reference in New Issue
Block a user