xref: /freebsd/contrib/bearssl/conf/samd20.mk (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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.
6include conf/Unix.mk
7
8# We override the build directory.
9BUILD = samd20
10
11# C compiler, linker, and static library builder.
12CC = arm-none-eabi-gcc
13CFLAGS = -W -Wall -Os -mthumb -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -DBR_ARMEL_CORTEXM_GCC
14LD = arm-none-eabi-gcc
15AR = arm-none-eabi-ar
16
17# We compile only the static library.
18DLL = no
19TOOLS = no
20TESTS = no
21