diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-03-24 09:53:09 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-03-24 09:53:09 +0000 |
commit | 434b8ea11453599809d223ca144ecd9aaa4d4c9a (patch) | |
tree | 4c73e599c868f98f02050fa856d3a0c200e00f12 /c/src/support/version.c | |
parent | 2003-03-18 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-434b8ea11453599809d223ca144ecd9aaa4d4c9a.tar.bz2 |
Merger from rtems-4-6-branch.
Diffstat (limited to '')
-rw-r--r-- | c/src/support/version.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/c/src/support/version.c b/c/src/support/version.c new file mode 100644 index 0000000000..27812b29d3 --- /dev/null +++ b/c/src/support/version.c @@ -0,0 +1,28 @@ +/* + * COPYRIGHT (c) 2003, Ralf Corsepius, Ulm, Germany. + * COPYRIGHT (c) 2003, On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.OARcorp.com/rtems/license.html. + * + * $Id$ + */ + +#include <rtems/system.h> + +#ifndef RTEMS_VERSION +#error "Missing RTEMS_VERSION" +#endif +#ifndef CPU_NAME +#error "Missing CPU_NAME" +#endif +#ifndef CPU_MODEL_NAME +#error "Missing CPU_MODEL_NAME" +#endif +#ifndef RTEMS_BSP +#error "Missing RTEMS_BSP" +#endif + +const char _RTEMS_version[] = + RTEMS_VERSION "(" CPU_NAME "/" CPU_MODEL_NAME "/" RTEMS_BSP ")"; |