source: rtems/bsps/shared/rtems-version.c @ 4f0dca3a

Last change on this file since 4f0dca3a was 4f0dca3a, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 3, 2018 at 5:09:11 AM

bsps: Move version.c and use bspopts.h

This patch is a part of the BSP source reorganization.

Update #3285.
Update #3375.

  • Property mode set to 100644
File size: 697 bytes
Line 
1/*
2 *  COPYRIGHT (c) 2003, Ralf Corsepius, Ulm, Germany.
3 *  COPYRIGHT (c) 2003, On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.org/license/LICENSE.
8 */
9
10#include <rtems/system.h>
11
12#include <bspopts.h>
13
14#ifndef RTEMS_VERSION
15#error "Missing RTEMS_VERSION"
16#endif
17#ifndef CPU_NAME
18#error "Missing CPU_NAME"
19#endif
20#ifndef CPU_MODEL_NAME
21#error "Missing CPU_MODEL_NAME"
22#endif
23#ifndef RTEMS_BSP
24#error "Missing RTEMS_BSP"
25#endif
26
27const char _RTEMS_version[] =
28  "rtems-" RTEMS_VERSION " (" CPU_NAME "/" CPU_MODEL_NAME "/"
29  RTEMS_XSTRING( RTEMS_BSP ) ")";
Note: See TracBrowser for help on using the repository browser.