Update library

Use the now standard $(PREFIX)gcc form instead of with the -.
more consistent with other projects.
This commit is contained in:
Karl Palsson
2019-06-07 21:31:44 +00:00
parent be1d296e2f
commit 5a828ffb82
3 changed files with 11 additions and 12 deletions

View File

@@ -17,8 +17,7 @@
## along with this library. If not, see <http://www.gnu.org/licenses/>. ## along with this library. If not, see <http://www.gnu.org/licenses/>.
## ##
PREFIX ?= arm-none-eabi PREFIX ?= arm-none-eabi-
#PREFIX ?= arm-elf
TARGETS := stm32/f0 stm32/f1 stm32/f2 stm32/f3 stm32/f4 TARGETS := stm32/f0 stm32/f1 stm32/f2 stm32/f3 stm32/f4
TARGETS += stm32/l0 stm32/l1 stm32/l4 TARGETS += stm32/l0 stm32/l1 stm32/l4

View File

@@ -28,16 +28,16 @@ endif
############################################################################### ###############################################################################
# Executables # Executables
PREFIX ?= arm-none-eabi PREFIX ?= arm-none-eabi-
CC := $(PREFIX)-gcc CC := $(PREFIX)gcc
CXX := $(PREFIX)-g++ CXX := $(PREFIX)g++
LD := $(PREFIX)-gcc LD := $(PREFIX)gcc
AR := $(PREFIX)-ar AR := $(PREFIX)ar
AS := $(PREFIX)-as AS := $(PREFIX)as
OBJCOPY := $(PREFIX)-objcopy OBJCOPY := $(PREFIX)objcopy
OBJDUMP := $(PREFIX)-objdump OBJDUMP := $(PREFIX)objdump
GDB := $(PREFIX)-gdb GDB := $(PREFIX)gdb
STFLASH = $(shell which st-flash) STFLASH = $(shell which st-flash)
STYLECHECK := /checkpatch.pl STYLECHECK := /checkpatch.pl
STYLECHECKFLAGS := --no-tree -f --terse --mailback STYLECHECKFLAGS := --no-tree -f --terse --mailback