From c9926c518ab56a22ec2762b1e84de0b8141eea1c Mon Sep 17 00:00:00 2001 From: Kiara Navarro Date: Sat, 19 Jun 2021 21:39:43 -0300 Subject: [PATCH] make: set BINPATH as fallback when compiling This change introduce a way to modify BINPATH outside makefile when compiling, allowing developer to choose from where toolchain is coming and at same time avoiding to pollute upstream. --- Software/VNA_embedded/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Software/VNA_embedded/Makefile b/Software/VNA_embedded/Makefile index df3451d..71abaac 100644 --- a/Software/VNA_embedded/Makefile +++ b/Software/VNA_embedded/Makefile @@ -70,7 +70,7 @@ PERIFLIB_SOURCES = ####################################### # binaries ####################################### -BINPATH = /usr/bin +BINPATH ?= /usr/bin PREFIX = arm-none-eabi- CC = $(BINPATH)/$(PREFIX)gcc CXX = $(BINPATH)/$(PREFIX)g++