mirror of https://github.com/ipxe/ipxe.git
This is, of course, the neater and much more obvious way to do it.
parent
cf79681b80
commit
ffe77e0683
|
@ -28,19 +28,13 @@
|
|||
#endif
|
||||
|
||||
#ifdef BUILD_ID
|
||||
#define BUILD_ID_STR BUILD_ID
|
||||
#define BUILD_ID_STR " " BUILD_ID
|
||||
#else
|
||||
#define BUILD_ID_STR ""
|
||||
#endif
|
||||
|
||||
#if defined(BUILD_ID) && defined(BUILD_SERIAL)
|
||||
#define BUILD_SPACER " "
|
||||
#else
|
||||
#define BUILD_SPACER ""
|
||||
#endif
|
||||
|
||||
#if defined(BUILD_ID) || defined(BUILD_SERIAL)
|
||||
#define BUILD_STRING " [build " BUILD_ID_STR BUILD_SPACER BUILD_SERIAL_STR "]"
|
||||
#define BUILD_STRING " [build" BUILD_ID_STR BUILD_SERIAL_STR "]"
|
||||
#else
|
||||
#define BUILD_STRING ""
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue