mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 13:00:39 +03:00
[build] Include version number within only a single object file
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -21,6 +21,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
#include <ipxe/shell.h>
|
||||
#include <ipxe/image.h>
|
||||
#include <ipxe/keys.h>
|
||||
#include <ipxe/version.h>
|
||||
#include <usr/prompt.h>
|
||||
#include <usr/autoboot.h>
|
||||
#include <config/general.h>
|
||||
@@ -82,10 +83,10 @@ __asmcall int main ( void ) {
|
||||
* do so.
|
||||
*
|
||||
*/
|
||||
printf ( NORMAL "\n\n" PRODUCT_NAME "\n" BOLD "iPXE " VERSION
|
||||
printf ( NORMAL "\n\n" PRODUCT_NAME "\n" BOLD "iPXE %s"
|
||||
NORMAL " -- Open Source Network Boot Firmware -- "
|
||||
CYAN "http://ipxe.org" NORMAL "\n"
|
||||
"Features:" );
|
||||
"Features:", product_version );
|
||||
for_each_table_entry ( feature, FEATURES )
|
||||
printf ( " %s", feature->name );
|
||||
printf ( "\n" );
|
||||
|
||||
Reference in New Issue
Block a user