summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-10-01 12:42:04 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-10-01 12:42:04 +0000
commit85ad55d4919613639b9f760ef2c4d6ab07c87475 (patch)
tree036bdad72381ba76c47ade809a2775fa326168f9 /c/src/lib/libbsp/m68k
parent2003-10-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-85ad55d4919613639b9f760ef2c4d6ab07c87475.tar.bz2
2003-10-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/bsp.h: Replace stringification madness to pick up bare.h (Doesn't work with gcc >= 3.3) with a somewhat cleaner madness.
Diffstat (limited to 'c/src/lib/libbsp/m68k')
-rw-r--r--c/src/lib/libbsp/m68k/ods68302/ChangeLog5
-rw-r--r--c/src/lib/libbsp/m68k/ods68302/include/bsp.h15
2 files changed, 9 insertions, 11 deletions
diff --git a/c/src/lib/libbsp/m68k/ods68302/ChangeLog b/c/src/lib/libbsp/m68k/ods68302/ChangeLog
index 10ddc8d84a..75030675d8 100644
--- a/c/src/lib/libbsp/m68k/ods68302/ChangeLog
+++ b/c/src/lib/libbsp/m68k/ods68302/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * include/bsp.h: Replace stringification madness to pick up bare.h
+ (Doesn't work with gcc >= 3.3) with a somewhat cleaner madness.
+
2003-09-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merge-in include/Makefile.am.
diff --git a/c/src/lib/libbsp/m68k/ods68302/include/bsp.h b/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
index 77dd9532d2..bec9b0feea 100644
--- a/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
@@ -42,18 +42,11 @@ extern "C" {
#define VARIANT bare
#endif
#if defined(VARIANT)
-
-#define __bsp_cat(x, y) x ## y
-#define __bsp_xcat(x, y) __bsp_cat(x,y)
-#define __bsp_str(s) #s
-#define __bsp_xstr(s) __bsp_str(s)
-
-#define __BSP_HEADER_FILE__ __bsp_xcat(VARIANT,.h)
-#define __BSP_HEADER_FILE_STR__ __bsp_xstr(__BSP_HEADER_FILE__)
-
-#include __BSP_HEADER_FILE_STR__
+#define HQUOTE(a) <a.h>
+#include HQUOTE(VARIANT)
+#undef HQUOTE
#endif
-
+
/*
* Define the time limits for RTEMS Test Suite test durations.
* Long test and short test duration limits are provided. These