mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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.
This commit is contained in:
@@ -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-04 Joel Sherrill <joel@OARcorp.com>
|
2003-09-04 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* clock/ckinit.c, console/console.c, include/bsp.h, include/coverhd.h,
|
* clock/ckinit.c, console/console.c, include/bsp.h, include/coverhd.h,
|
||||||
|
|||||||
@@ -42,16 +42,9 @@ extern "C" {
|
|||||||
#define VARIANT bare
|
#define VARIANT bare
|
||||||
#endif
|
#endif
|
||||||
#if defined(VARIANT)
|
#if defined(VARIANT)
|
||||||
|
#define HQUOTE(a) <a.h>
|
||||||
#define __bsp_cat(x, y) x ## y
|
#include HQUOTE(VARIANT)
|
||||||
#define __bsp_xcat(x, y) __bsp_cat(x,y)
|
#undef HQUOTE
|
||||||
#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__
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user