From 6d3ab0ffdcf4f6e2a338233021658ff83880cbec Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 10 Jan 2000 20:56:35 +0000 Subject: Added pc486 and pc586 as aliases of pc386 with proper cpu flags. --- make/custom/pc386.cfg | 5 ++++- make/custom/pc486.cfg | 11 +++++++++++ make/custom/pc586.cfg | 11 +++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 make/custom/pc486.cfg create mode 100644 make/custom/pc586.cfg (limited to 'make/custom') 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 + -- cgit v1.2.3