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/>.
##
PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
PREFIX ?= arm-none-eabi-
TARGETS := stm32/f0 stm32/f1 stm32/f2 stm32/f3 stm32/f4
TARGETS += stm32/l0 stm32/l1 stm32/l4

View File

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