summaryrefslogtreecommitdiff
path: root/bsps/i386/pc386/config/pcp4.cfg
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-21 10:22:08 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-23 15:18:42 +0200
commitadb85dd473af5c9a72e9da9b7fe013d1b216abc3 (patch)
treeed54d2ce2354cf2b75995d1e1f2bc685436bc4ca /bsps/i386/pc386/config/pcp4.cfg
parent37dc0471b278c325cf6181701fd8a4514262b148 (diff)
bsps: Move make/custom/* files to bsps
Adjust various build files. Remove automatic generation of the c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script. This patch is a part of the BSP source reorganization. Update #3285.
Diffstat (limited to 'bsps/i386/pc386/config/pcp4.cfg')
-rw-r--r--bsps/i386/pc386/config/pcp4.cfg17
1 files changed, 17 insertions, 0 deletions
diff --git a/bsps/i386/pc386/config/pcp4.cfg b/bsps/i386/pc386/config/pcp4.cfg
new file mode 100644
index 0000000000..75ec7d4666
--- /dev/null
+++ b/bsps/i386/pc386/config/pcp4.cfg
@@ -0,0 +1,17 @@
+#
+# Configuration file for a PC using a Pentium Class CPU
+#
+
+# 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).
+#
+# And: The only sse-related feature the RTEMS support really needs is
+# fxsave/fxrstor. You can build with -msse, -msse2 or -msse3,
+# depending on your CPU.
+# There are run-time checks resulting in a 'panic' if code
+# compiled for e.g. -msse3 is executed on a CPU that only
+# supports sse2, though.
+CPU_CFLAGS = -mtune=pentium4 -march=pentium4 -msse3
+
+include $(RTEMS_ROOT)/make/custom/pc386.cfg