Commit cc964b9b authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Default to leon3 ; and properly handle FPU setting.

parent 9f8e51b3
......@@ -16,7 +16,7 @@ FPU_SUFFIX=NONFPU
endif
# Build up our settings from our inputs and our environment
LEON ?= leon2
LEON ?= leon3
RTEMS ?= /opt/rtems-4.8
RTEMS_MAKEFILE_PATH = ${RTEMS}/sparc-rtems4.8/${LEON}
RTEMS_LIB=${RTEMS_MAKEFILE_PATH}/lib
......@@ -98,9 +98,9 @@ endif
# FPU section
CFLAGS_FPU = ${CFLAGS}
CFLAGS_NONFPU = ${CFLAGS} -msoft-float
ifeq ($(FPU),0)
CFLAGS_FPU += -msoft-float
LDFLAGS += -msoft-float
ifeq ($(FPU),1)
CFLAGS_FPU += -mhard-float
LDFLAGS += -mhard-float
endif
# A common link flag for all configurations
......
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