diff options
author | Eric Biederman <ebiederm@xmission.com> | 2004-10-16 06:20:29 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2004-10-16 06:20:29 +0000 |
commit | 7003ba4a88a847707c55d593e517eaa70fc8c63d (patch) | |
tree | ad29fcd2fde474cb9bdd32835a76101edabe1ef9 /src/lib | |
parent | 216525d1fd86c13e0f1ebe85ba518cdc1da06fcb (diff) |
- First stab at running linuxbios without the old static device tree.
Things are close but not quite there yet.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1681 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/version.c | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/src/lib/version.c b/src/lib/version.c index 73d52ca843..028e0062b2 100644 --- a/src/lib/version.c +++ b/src/lib/version.c @@ -1,8 +1,5 @@ #include <version.h> -#define __STR(X) #X -#define STR(X) __STR(X) - #ifndef MAINBOARD_VENDOR #error MAINBOARD_VENDOR not defined #endif @@ -39,23 +36,23 @@ #ifndef LINUXBIOS_EXTRA_VERSION -#define LINUXBIOS_EXTRA_VERSION +#define LINUXBIOS_EXTRA_VERSION "" #endif -const char mainboard_vendor[] = STR(MAINBOARD_VENDOR); -const char mainboard_part_number[] = STR(MAINBOARD_PART_NUMBER); +const char mainboard_vendor[] = MAINBOARD_VENDOR; +const char mainboard_part_number[] = MAINBOARD_PART_NUMBER; -const char linuxbios_version[] = STR(LINUXBIOS_VERSION); -const char linuxbios_extra_version[] = STR(LINUXBIOS_EXTRA_VERSION); -const char linuxbios_build[] = STR(LINUXBIOS_BUILD); +const char linuxbios_version[] = LINUXBIOS_VERSION; +const char linuxbios_extra_version[] = LINUXBIOS_EXTRA_VERSION; +const char linuxbios_build[] = LINUXBIOS_BUILD; -const char linuxbios_compile_time[] = STR(LINUXBIOS_COMPILE_TIME); -const char linuxbios_compile_by[] = STR(LINUXBIOS_COMPILE_BY); -const char linuxbios_compile_host[] = STR(LINUXBIOS_COMPILE_HOST); -const char linuxbios_compile_domain[] = STR(LINUXBIOS_COMPILE_DOMAIN); -const char linuxbios_compiler[] = STR(LINUXBIOS_COMPILER); -const char linuxbios_linker[] = STR(LINUXBIOS_LINKER); -const char linuxbios_assembler[] = STR(LINUXBIOS_ASSEMBLER); +const char linuxbios_compile_time[] = LINUXBIOS_COMPILE_TIME; +const char linuxbios_compile_by[] = LINUXBIOS_COMPILE_BY; +const char linuxbios_compile_host[] = LINUXBIOS_COMPILE_HOST; +const char linuxbios_compile_domain[] = LINUXBIOS_COMPILE_DOMAIN; +const char linuxbios_compiler[] = LINUXBIOS_COMPILER; +const char linuxbios_linker[] = LINUXBIOS_LINKER; +const char linuxbios_assembler[] = LINUXBIOS_ASSEMBLER; |