summaryrefslogtreecommitdiff
path: root/cpu/arm_cortexa9/db8500/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/arm_cortexa9/db8500/Makefile')
-rw-r--r--cpu/arm_cortexa9/db8500/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/cpu/arm_cortexa9/db8500/Makefile b/cpu/arm_cortexa9/db8500/Makefile
index 180da3026..39034bb18 100644
--- a/cpu/arm_cortexa9/db8500/Makefile
+++ b/cpu/arm_cortexa9/db8500/Makefile
@@ -25,9 +25,15 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a
-COBJS = timer.o interrupts.o
+# We want warnings free code.
+# Some generic include files have inline functions with unused parameters.
+CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter
+
+# Please keep one file per line and in alphabetical order
COBJS += clock.o
+COBJS += interrupts.o
COBJS += prcmu.o
+COBJS += timer.o
SRCS := $(START:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))