aboutsummaryrefslogtreecommitdiff
path: root/src/usr
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2014-06-19 00:35:04 +0100
committerMichael Brown <mcb30@ipxe.org>2014-06-24 15:32:35 +0100
commit8290a955130e0a6d6112ad8f269d8f617103e070 (patch)
tree9a3b124dacb036cbf6359fb4ef27fbce3f898fd6 /src/usr
parent13a74e0d27a6b4781cca4646642e635cbbc94796 (diff)
downloadipxe-8290a955130e0a6d6112ad8f269d8f617103e070.zip
ipxe-8290a955130e0a6d6112ad8f269d8f617103e070.tar.gz
ipxe-8290a955130e0a6d6112ad8f269d8f617103e070.tar.bz2
[build] Expose build timestamp, build name, and product names
Expose the build timestamp (measured in seconds since the Epoch) and the build name (e.g. "rtl8139.rom" or "ipxe.efi"), and provide the product name and product short name in a single centralised location. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/autoboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index af3d1f7..01c55ef 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -499,10 +499,10 @@ void ipxe ( struct net_device *netdev ) {
* do so.
*
*/
- printf ( NORMAL "\n\n" PRODUCT_NAME "\n" BOLD "iPXE %s"
+ printf ( NORMAL "\n\n%s\n" BOLD "iPXE %s"
NORMAL " -- Open Source Network Boot Firmware -- "
CYAN "http://ipxe.org" NORMAL "\n"
- "Features:", product_version );
+ "Features:", product_name, product_version );
for_each_table_entry ( feature, FEATURES )
printf ( " %s", feature->name );
printf ( "\n" );