summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-10 20:56:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-10 20:56:35 +0000
commit6d3ab0ffdcf4f6e2a338233021658ff83880cbec (patch)
treefad785fc1cdad56487eea123beea01bab1184e55 /make/custom
parentRemoved warning by changing %eax -> %ax as source of move to segment (diff)
downloadrtems-6d3ab0ffdcf4f6e2a338233021658ff83880cbec.tar.bz2
Added pc486 and pc586 as aliases of pc386 with proper cpu flags.
Diffstat (limited to 'make/custom')
-rw-r--r--make/custom/pc386.cfg5
-rw-r--r--make/custom/pc486.cfg11
-rw-r--r--make/custom/pc586.cfg11
3 files changed, 26 insertions, 1 deletions
diff --git a/make/custom/pc386.cfg b/make/custom/pc386.cfg
index ff3fd21ee9..d820d11203 100644
--- a/make/custom/pc386.cfg
+++ b/make/custom/pc386.cfg
@@ -7,7 +7,9 @@
include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU=i386
+ifeq ($(RTEMS_CPU_MODEL),)
RTEMS_CPU_MODEL=i386_fp
+endif
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=pc386
@@ -15,7 +17,8 @@ RTEMS_BSP_FAMILY=pc386
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
-CPU_CFLAGS =
+# NOTE: CPU_CFLAGS is set by pc386 variants.
+# CPU_CFLAGS =
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
diff --git a/make/custom/pc486.cfg b/make/custom/pc486.cfg
new file mode 100644
index 0000000000..5d8db10920
--- /dev/null
+++ b/make/custom/pc486.cfg
@@ -0,0 +1,11 @@
+#
+# Configuration file for a PC using an i486DX Class CPU
+#
+# $Id$
+#
+
+RTEMS_CPU_MODEL=i486dx
+CPU_CFLAGS = -mcpu=i486
+
+include $(RTEMS_ROOT)/make/custom/pc386.cfg
+
diff --git a/make/custom/pc586.cfg b/make/custom/pc586.cfg
new file mode 100644
index 0000000000..7eb7527621
--- /dev/null
+++ b/make/custom/pc586.cfg
@@ -0,0 +1,11 @@
+#
+# Configuration file for a PC using a Pentium Class CPU
+#
+# $Id$
+#
+
+RTEMS_CPU_MODEL=pentium
+CPU_CFLAGS = -mcpu=i586
+
+include $(RTEMS_ROOT)/make/custom/pc386.cfg
+