mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 21:11:03 +03:00
[build] Remove obsolete and unused portions of config.c
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
1
src/config/.gitignore
vendored
1
src/config/.gitignore
vendored
@@ -1 +0,0 @@
|
||||
.buildserial.*
|
||||
@@ -44,34 +44,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
* in the final iPXE executable built.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Build ID string calculations
|
||||
*
|
||||
*/
|
||||
#undef XSTR
|
||||
#undef STR
|
||||
#define XSTR(s) STR(s)
|
||||
#define STR(s) #s
|
||||
|
||||
#ifdef BUILD_SERIAL
|
||||
#include "config/.buildserial.h"
|
||||
#define BUILD_SERIAL_STR " #" XSTR(BUILD_SERIAL_NUM)
|
||||
#else
|
||||
#define BUILD_SERIAL_STR ""
|
||||
#endif
|
||||
|
||||
#ifdef BUILD_ID
|
||||
#define BUILD_ID_STR " " BUILD_ID
|
||||
#else
|
||||
#define BUILD_ID_STR ""
|
||||
#endif
|
||||
|
||||
#if defined(BUILD_ID) || defined(BUILD_SERIAL)
|
||||
#define BUILD_STRING " [build" BUILD_ID_STR BUILD_SERIAL_STR "]"
|
||||
#else
|
||||
#define BUILD_STRING ""
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Drag in all requested console types
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user