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