Update library
Use the now standard $(PREFIX)gcc form instead of with the -. more consistent with other projects.
This commit is contained in:
3
Makefile
3
Makefile
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Submodule libopencm3 updated: 49a3cddba0...7be50a5e75
Reference in New Issue
Block a user