[rtems commit] bsp/leon3: Use -mcpu=leon3 machine option
Sebastian Huber
sebh at rtems.org
Mon Feb 22 06:24:01 UTC 2016
Module: rtems
Branch: master
Commit: c466c62d786cd4a88af07b4a9d338f42810d0ee7
Changeset: http://git.rtems.org/rtems/commit/?id=c466c62d786cd4a88af07b4a9d338f42810d0ee7
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Feb 22 07:04:17 2016 +0100
bsp/leon3: Use -mcpu=leon3 machine option
Due to GCC configuration changes, the -muser-mode option is superfluous.
---
c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg | 2 +-
c/src/lib/libbsp/sparc/leon3/make/custom/ngmp.cfg | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg b/c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg
index 58f2f07..34ad967 100644
--- a/c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg
+++ b/c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg
@@ -9,7 +9,7 @@ RTEMS_CPU_MODEL=leon3
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
-CPU_CFLAGS = -mcpu=cypress -msoft-float
+CPU_CFLAGS = -mcpu=leon3 -msoft-float
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g
diff --git a/c/src/lib/libbsp/sparc/leon3/make/custom/ngmp.cfg b/c/src/lib/libbsp/sparc/leon3/make/custom/ngmp.cfg
index 35a0422..86da029 100644
--- a/c/src/lib/libbsp/sparc/leon3/make/custom/ngmp.cfg
+++ b/c/src/lib/libbsp/sparc/leon3/make/custom/ngmp.cfg
@@ -1,3 +1 @@
include $(RTEMS_ROOT)/make/custom/leon3.cfg
-
-CPU_CFLAGS = -mcpu=leon3 -muser-mode -msoft-float
More information about the vc
mailing list