aboutsummaryrefslogtreecommitdiff
path: root/lib/lpc43xx/Makefile
diff options
context:
space:
mode:
authorMichael Ossmann2012-06-04 12:23:26 -0700
committerMichael Ossmann2012-06-04 12:23:26 -0700
commit21304c01b6ea776613cedc2976288153c5a9a152 (patch)
tree4ed551022f3fb98d7eb598c381e79327b50bbe86 /lib/lpc43xx/Makefile
parent245e1d6f079897fd9710473a15f056271e68b375 (diff)
parent58d5b96291dabe10cb01faa954744043ee7e38a5 (diff)
Merge pull request #2 from TitanMKD/master
mostly SCU
Diffstat (limited to 'lib/lpc43xx/Makefile')
-rw-r--r--lib/lpc43xx/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/lpc43xx/Makefile b/lib/lpc43xx/Makefile
index 4b8eae4..041e3bc 100644
--- a/lib/lpc43xx/Makefile
+++ b/lib/lpc43xx/Makefile
@@ -3,6 +3,7 @@
##
## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
## Copyright (C) 2012 Michael Ossmann <mike@ossmann.com>
+## Copyright (C) 2012 Benjamin Vernoux <titanmkd@gmail.com>
##
## This library is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published by
@@ -24,13 +25,13 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar
-CFLAGS = -O0 -g -Wall -Wextra -I../../include -fno-common \
+CFLAGS = -O2 -g -Wall -Wextra -I../../include -fno-common \
-mcpu=cortex-m4 -mthumb -Wstrict-prototypes \
-ffunction-sections -fdata-sections -MD \
-mfloat-abi=hard -mfpu=fpv4-sp-d16
# ARFLAGS = rcsv
ARFLAGS = rcs
-OBJS = gpio.o vector.o
+OBJS = gpio.o vector.o scu.o
# VPATH += ../usb
@@ -50,7 +51,7 @@ $(LIBNAME).a: $(OBJS)
$(Q)$(CC) $(CFLAGS) -o $@ -c $<
clean:
- @printf " CLEAN lib/lpc17xx\n"
+ @printf " CLEAN lib/lpc43xx\n"
$(Q)rm -f *.o *.d
$(Q)rm -f $(LIBNAME).a