Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 1 | #include <version.h> |
| 2 | |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 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 | |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 10 | #ifndef COREBOOT_VERSION |
| 11 | #error COREBOOT_VERSION not defined |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 12 | #endif |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 13 | #ifndef COREBOOT_BUILD |
| 14 | #error COREBOOT_BUILD not defined |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 15 | #endif |
| 16 | |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 17 | #ifndef COREBOOT_COMPILE_TIME |
| 18 | #error COREBOOT_COMPILE_TIME not defined |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 19 | #endif |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 20 | #ifndef COREBOOT_COMPILE_BY |
| 21 | #error COREBOOT_COMPILE_BY not defined |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 22 | #endif |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 23 | #ifndef COREBOOT_COMPILE_HOST |
| 24 | #error COREBOOT_COMPILE_HOST not defined |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 25 | #endif |
| 26 | |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 27 | #ifndef COREBOOT_COMPILER |
| 28 | #error COREBOOT_COMPILER not defined |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 29 | #endif |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 30 | #ifndef COREBOOT_LINKER |
| 31 | #error COREBOOT_LINKER not defined |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 32 | #endif |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 33 | #ifndef COREBOOT_ASSEMBLER |
| 34 | #error COREBOOT_ASSEMBLER not defined |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 35 | #endif |
| 36 | |
| 37 | |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 38 | #ifndef COREBOOT_EXTRA_VERSION |
| 39 | #define COREBOOT_EXTRA_VERSION "" |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 40 | #endif |
| 41 | |
Eric Biederman | 7003ba4 | 2004-10-16 06:20:29 +0000 | [diff] [blame] | 42 | const char mainboard_vendor[] = MAINBOARD_VENDOR; |
| 43 | const char mainboard_part_number[] = MAINBOARD_PART_NUMBER; |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 44 | |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 45 | const char coreboot_version[] = COREBOOT_VERSION; |
| 46 | const char coreboot_extra_version[] = COREBOOT_EXTRA_VERSION; |
| 47 | const char coreboot_build[] = COREBOOT_BUILD; |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 48 | |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 49 | const char coreboot_compile_time[] = COREBOOT_COMPILE_TIME; |
| 50 | const char coreboot_compile_by[] = COREBOOT_COMPILE_BY; |
| 51 | const char coreboot_compile_host[] = COREBOOT_COMPILE_HOST; |
| 52 | const char coreboot_compile_domain[] = COREBOOT_COMPILE_DOMAIN; |
| 53 | const char coreboot_compiler[] = COREBOOT_COMPILER; |
| 54 | const char coreboot_linker[] = COREBOOT_LINKER; |
| 55 | const char coreboot_assembler[] = COREBOOT_ASSEMBLER; |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 56 | |
| 57 | |
| 58 | |
| 59 | |