Commit 160952a9 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Using the freshly built pairs of leon2/leon3 FPU/NONFPU

parent 95e85fcb
# Configuration section
# Use environment variables if found, otherwise fallback to sane defaults
RTEMS_MAKEFILE_PATH ?= /opt/rtems-4.12-2016.03.18.NONFPU/sparc-rtems4.12/leon3
LEON ?= leon3
RTEMS ?= /opt/rtems-4.11-2016.04.01.FPU
RTEMS_MAKEFILE_PATH ?= ${RTEMS}/sparc-rtems4.11/${LEON}
# Detect the platform (last part of the path of RTEMS_MAKEFILE_PATH - e.g. leon3, leon2, etc)
PLATFORM = $(shell sh -c "echo ${RTEMS_MAKEFILE_PATH} | sed 's,^.*/,,'")
......@@ -41,7 +43,7 @@ TARGET=fputest
# What compiler to use for generating dependencies:
# it will be invoked with -MM -MP
CC = ${RTEMS}/bin/${CROSS_PREFIX}-gcc
CDEP = ${CC}
# What include flags to pass to the compiler
......@@ -49,7 +51,7 @@ INCLUDEFLAGS= -I src
# Compilation flags (common)
COMMON += -B${RTEMS_LIB} -specs bsp_specs -qrtems \
-mcpu=leon3 -DBSP_leon3 \
-mcpu=cypress -DBSP_${LEON} \
-ffunction-sections -fdata-sections -Wall \
-Wmissing-prototypes -Wimplicit-function-declaration \
-Wstrict-prototypes -Wnested-externs
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment