summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2015-03-04 15:49:43 +0100
committerMichael Brown2015-03-04 15:49:43 +0100
commit04c1ea81709b3de2658331761eb94843110c165f (patch)
treec28c8a40705696d5baa6b8023eda1c17dd19ef3b /src/config
parent[pxe] Remove obsolete references to pxeparent_dhcp (diff)
downloadipxe-04c1ea81709b3de2658331761eb94843110c165f.tar.gz
ipxe-04c1ea81709b3de2658331761eb94843110c165f.tar.xz
ipxe-04c1ea81709b3de2658331761eb94843110c165f.zip
[build] Remove obsolete and unused portions of config.c
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/.gitignore1
-rw-r--r--src/config/config.c28
2 files changed, 0 insertions, 29 deletions
diff --git a/src/config/.gitignore b/src/config/.gitignore
deleted file mode 100644
index 8e94f32f..00000000
--- a/src/config/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-.buildserial.*
diff --git a/src/config/config.c b/src/config/config.c
index 346f79bf..e4d378f0 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -45,34 +45,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
*/
/*
- * 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
*
*/