mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 18:07:25 +08:00
added /opt/paparazzi/arm-multilib to search path for toolchain
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ SRC_ARCH = arch/lpc21
|
|||||||
|
|
||||||
# Programs location
|
# Programs location
|
||||||
# try to find the paparazzi multilib toolchain
|
# try to find the paparazzi multilib toolchain
|
||||||
TOOLCHAIN_DIR=$(shell find -L ~/sat /opt/paparazzi/stm32 -maxdepth 1 -type d -name arm-none-eabi 2>/dev/null | head -n 1 | xargs dirname )
|
TOOLCHAIN_DIR=$(shell find -L ~/sat /opt/paparazzi/arm-multilib /opt/paparazzi/stm32 -maxdepth 1 -type d -name arm-none-eabi 2>/dev/null | head -n 1 | xargs dirname )
|
||||||
|
|
||||||
#
|
#
|
||||||
# found the new paparazzi toolchain, use it
|
# found the new paparazzi toolchain, use it
|
||||||
|
|||||||
+1
-1
@@ -38,7 +38,7 @@ OPT = s
|
|||||||
#OPT = 0
|
#OPT = 0
|
||||||
|
|
||||||
# Programs location
|
# Programs location
|
||||||
TOOLCHAIN_DIR=$(shell find -L ~/sat /opt/paparazzi/stm32 -maxdepth 1 -type d -name arm-none-eabi 2>/dev/null | head -n 1 | xargs dirname )
|
TOOLCHAIN_DIR=$(shell find -L ~/sat /opt/paparazzi/arm-multilib /opt/paparazzi/stm32 -maxdepth 1 -type d -name arm-none-eabi 2>/dev/null | head -n 1 | xargs dirname )
|
||||||
GCC_BIN_DIR=$(TOOLCHAIN_DIR)/bin
|
GCC_BIN_DIR=$(TOOLCHAIN_DIR)/bin
|
||||||
GCC_LIB_DIR=$(TOOLCHAIN_DIR)/arm-none-eabi/lib
|
GCC_LIB_DIR=$(TOOLCHAIN_DIR)/arm-none-eabi/lib
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user