Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msp432/e4/Makefile')
-rw-r--r--lib/msp432/e4/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/msp432/e4/Makefile b/lib/msp432/e4/Makefile
index 61abb1ab..53d20f78 100644
--- a/lib/msp432/e4/Makefile
+++ b/lib/msp432/e4/Makefile
@@ -23,10 +23,8 @@ LIBNAME = libopencm3_msp432e4
SRCLIBDIR ?= ../..
FP_FLAGS ?= -mfloat-abi=hard -mfpu=fpv4-sp-d16
-PREFIX ?= arm-none-eabi
-
-CC = $(PREFIX)-gcc
-AR = $(PREFIX)-ar
+CC = $(PREFIX)gcc
+AR = $(PREFIX)ar
TGT_CFLAGS = -Os \
-Wall -Wextra -Wimplicit-function-declaration \
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
@@ -40,7 +38,8 @@ TGT_CFLAGS += $(STANDARD_FLAGS)
# ARFLAGS = rcsv
ARFLAGS = rcs
-OBJS = systemcontrol.o
+OBJS += gpio.o
+OBJS += systemcontrol.o
VPATH += ../:../../cm3:../common