Some renaming to avoid spurious warnings on some old GCC versions.
[BearSSL] / conf / samd20.mk
1 # Example configuration file for compiling for an Atmel SAM D20 Xplained
2 # Pro evaluation kit, on a Unix-like system, with a GNU toolchain.
3
4 # We are on a Unix system so we assume a Single Unix compatible 'make'
5 # utility, and Unix defaults.
6 include conf/Unix.mk
7
8 # We override the build directory.
9 BUILD = samd20
10
11 # C compiler, linker, and static library builder.
12 CC = arm-none-eabi-gcc
13 CFLAGS = -W -Wall -Os -mthumb -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -DBR_ARMEL_CORTEXM_GCC
14 LD = arm-none-eabi-gcc
15 AR = arm-none-eabi-ar
16
17 # We compile only the static library.
18 DLL = no
19 TOOLS = no
20 TESTS = no