coreboot-v2/src/lib/version.c
<<
>>
Prefs
   1#include <version.h>
   2
   3#ifndef CONFIG_MAINBOARD_VENDOR
   4#error CONFIG_MAINBOARD_VENDOR not defined
   5#endif
   6#ifndef CONFIG_MAINBOARD_PART_NUMBER
   7#error  CONFIG_MAINBOARD_PART_NUMBER not defined
   8#endif
   9
  10#ifndef COREBOOT_VERSION
  11#error  COREBOOT_VERSION not defined
  12#endif
  13#ifndef COREBOOT_BUILD
  14#error  COREBOOT_BUILD not defined
  15#endif
  16
  17#ifndef COREBOOT_COMPILE_TIME
  18#error  COREBOOT_COMPILE_TIME not defined
  19#endif
  20#ifndef COREBOOT_COMPILE_BY
  21#error  COREBOOT_COMPILE_BY not defined
  22#endif
  23#ifndef COREBOOT_COMPILE_HOST
  24#error  COREBOOT_COMPILE_HOST not defined
  25#endif
  26
  27#ifndef COREBOOT_COMPILER
  28#error  COREBOOT_COMPILER not defined
  29#endif
  30#ifndef COREBOOT_LINKER
  31#error  COREBOOT_LINKER not defined
  32#endif
  33#ifndef COREBOOT_ASSEMBLER
  34#error  COREBOOT_ASSEMBLER not defined
  35#endif
  36
  37
  38#ifndef  COREBOOT_EXTRA_VERSION
  39#define COREBOOT_EXTRA_VERSION ""
  40#endif
  41
  42const char mainboard_vendor[] = CONFIG_MAINBOARD_VENDOR;
  43const char mainboard_part_number[] = CONFIG_MAINBOARD_PART_NUMBER;
  44
  45const char coreboot_version[] = COREBOOT_VERSION;
  46const char coreboot_extra_version[] = COREBOOT_EXTRA_VERSION;
  47const char coreboot_build[] = COREBOOT_BUILD;
  48
  49const char coreboot_compile_time[]   = COREBOOT_COMPILE_TIME;
  50const char coreboot_compile_by[]     = COREBOOT_COMPILE_BY;
  51const char coreboot_compile_host[]   = COREBOOT_COMPILE_HOST;
  52const char coreboot_compile_domain[] = COREBOOT_COMPILE_DOMAIN;
  53const char coreboot_compiler[]       = COREBOOT_COMPILER;
  54const char coreboot_linker[]         = COREBOOT_LINKER;
  55const char coreboot_assembler[]      = COREBOOT_ASSEMBLER;
  56
  57
  58
  59
  60
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.