[rtems commit] bsp/pc386: Remove unused RTEMS_CPU_MODEL

Sebastian Huber sebh at rtems.org
Mon Mar 26 09:10:02 UTC 2018


Module:    rtems
Branch:    master
Commit:    96400050ed8fea231bdc5964b133892f22ccd2aa
Changeset: http://git.rtems.org/rtems/commit/?id=96400050ed8fea231bdc5964b133892f22ccd2aa

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Mar 26 09:04:43 2018 +0200

bsp/pc386: Remove unused RTEMS_CPU_MODEL

This patch is a part of the BSP source reorganization.

Update #3285.

---

 c/src/lib/libbsp/i386/pc386/make/custom/pc386.cfg     | 3 ---
 c/src/lib/libbsp/i386/pc386/make/custom/pc486.cfg     | 2 --
 c/src/lib/libbsp/i386/pc386/make/custom/pc586-sse.cfg | 2 --
 c/src/lib/libbsp/i386/pc386/make/custom/pc586.cfg     | 2 --
 c/src/lib/libbsp/i386/pc386/make/custom/pc686.cfg     | 2 --
 c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg      | 2 --
 6 files changed, 13 deletions(-)

diff --git a/c/src/lib/libbsp/i386/pc386/make/custom/pc386.cfg b/c/src/lib/libbsp/i386/pc386/make/custom/pc386.cfg
index c878704..dd7f554 100644
--- a/c/src/lib/libbsp/i386/pc386/make/custom/pc386.cfg
+++ b/c/src/lib/libbsp/i386/pc386/make/custom/pc386.cfg
@@ -5,9 +5,6 @@
 include $(RTEMS_ROOT)/make/custom/default.cfg
 
 RTEMS_CPU=i386
-ifeq ($(RTEMS_CPU_MODEL),)
-RTEMS_CPU_MODEL=i386_fp
-endif
 
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it. 
diff --git a/c/src/lib/libbsp/i386/pc386/make/custom/pc486.cfg b/c/src/lib/libbsp/i386/pc386/make/custom/pc486.cfg
index ec487ac..baab16d 100644
--- a/c/src/lib/libbsp/i386/pc386/make/custom/pc486.cfg
+++ b/c/src/lib/libbsp/i386/pc386/make/custom/pc486.cfg
@@ -2,8 +2,6 @@
 #  Configuration file for a PC using an i486DX Class CPU
 #
 
-RTEMS_CPU_MODEL=i486dx
-
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.
 CPU_CFLAGS = -mtune=i486
diff --git a/c/src/lib/libbsp/i386/pc386/make/custom/pc586-sse.cfg b/c/src/lib/libbsp/i386/pc386/make/custom/pc586-sse.cfg
index 0d100c2..764c40c 100644
--- a/c/src/lib/libbsp/i386/pc386/make/custom/pc586-sse.cfg
+++ b/c/src/lib/libbsp/i386/pc386/make/custom/pc586-sse.cfg
@@ -2,8 +2,6 @@
 #  Configuration file for a PC using a Pentium Class CPU
 #
 
-RTEMS_CPU_MODEL=pentium
-
 # This configuration is useful for SMP testing on Qemu
 CPU_CFLAGS = -mtune=pentium -march=pentium -msse2
 
diff --git a/c/src/lib/libbsp/i386/pc386/make/custom/pc586.cfg b/c/src/lib/libbsp/i386/pc386/make/custom/pc586.cfg
index 6f9cfcb..35733a3 100644
--- a/c/src/lib/libbsp/i386/pc386/make/custom/pc586.cfg
+++ b/c/src/lib/libbsp/i386/pc386/make/custom/pc586.cfg
@@ -2,8 +2,6 @@
 #  Configuration file for a PC using a Pentium Class CPU
 #
 
-RTEMS_CPU_MODEL=pentium
-
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.
 CPU_CFLAGS = -mtune=pentium -march=pentium
diff --git a/c/src/lib/libbsp/i386/pc386/make/custom/pc686.cfg b/c/src/lib/libbsp/i386/pc386/make/custom/pc686.cfg
index b27e8ae..fc63cde 100644
--- a/c/src/lib/libbsp/i386/pc386/make/custom/pc686.cfg
+++ b/c/src/lib/libbsp/i386/pc386/make/custom/pc686.cfg
@@ -2,8 +2,6 @@
 #  Configuration file for a PC using a PentiumPro Class CPU
 #
 
-RTEMS_CPU_MODEL=pentiumpro
-
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.
 CPU_CFLAGS = -mtune=pentiumpro -march=pentium
diff --git a/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg b/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg
index 34df823..75ec7d4 100644
--- a/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg
+++ b/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg
@@ -2,8 +2,6 @@
 #  Configuration file for a PC using a Pentium Class CPU
 #
 
-RTEMS_CPU_MODEL=pentium
-
 #  Note:      We give the -mtune=pentium option here only so that at least the
 #             variant optimized for pentium (w/o using any pentium-specific
 #             features) is used (assuming you use the vanilla RTEMS multilibs).



More information about the vc mailing list