eric patch
[coreboot.git] / src / lib / version.c
1 #include <version.h>
2
3 #ifndef MAINBOARD_VENDOR
4 #error MAINBOARD_VENDOR not defined
5 #endif
6 #ifndef MAINBOARD_PART_NUMBER
7 #error  MAINBOARD_PART_NUMBER not defined
8 #endif
9
10 #ifndef LINUXBIOS_VERSION
11 #error  LINUXBIOS_VERSION not defined
12 #endif
13 #ifndef LINUXBIOS_BUILD
14 #error  LINUXBIOS_BUILD not defined
15 #endif
16
17 #ifndef LINUXBIOS_COMPILE_TIME
18 #error  LINUXBIOS_COMPILE_TIME not defined
19 #endif
20 #ifndef LINUXBIOS_COMPILE_BY
21 #error  LINUXBIOS_COMPILE_BY not defined
22 #endif
23 #ifndef LINUXBIOS_COMPILE_HOST
24 #error  LINUXBIOS_COMPILE_HOST not defined
25 #endif
26
27 #ifndef LINUXBIOS_COMPILER
28 #error  LINUXBIOS_COMPILER not defined
29 #endif
30 #ifndef LINUXBIOS_LINKER
31 #error  LINUXBIOS_LINKER not defined
32 #endif
33 #ifndef LINUXBIOS_ASSEMBLER
34 #error  LINUXBIOS_ASSEMBLER not defined
35 #endif
36
37
38 #ifndef  LINUXBIOS_EXTRA_VERSION
39 #define LINUXBIOS_EXTRA_VERSION ""
40 #endif
41
42 const char mainboard_vendor[] = MAINBOARD_VENDOR;
43 const char mainboard_part_number[] = MAINBOARD_PART_NUMBER;
44
45 const char linuxbios_version[] = LINUXBIOS_VERSION;
46 const char linuxbios_extra_version[] = LINUXBIOS_EXTRA_VERSION;
47 const char linuxbios_build[] = LINUXBIOS_BUILD;
48
49 const char linuxbios_compile_time[]   = LINUXBIOS_COMPILE_TIME;
50 const char linuxbios_compile_by[]     = LINUXBIOS_COMPILE_BY;
51 const char linuxbios_compile_host[]   = LINUXBIOS_COMPILE_HOST;
52 const char linuxbios_compile_domain[] = LINUXBIOS_COMPILE_DOMAIN;
53 const char linuxbios_compiler[]       = LINUXBIOS_COMPILER;
54 const char linuxbios_linker[]         = LINUXBIOS_LINKER;
55 const char linuxbios_assembler[]      = LINUXBIOS_ASSEMBLER;
56
57
58
59