diff options
author | Michael Brown | 2015-02-11 15:22:43 +0100 |
---|---|---|
committer | Michael Brown | 2015-02-11 15:22:43 +0100 |
commit | 4b2800c7d5501ffcde6bd585f45842580a60f8d9 (patch) | |
tree | ac193684e202736095c64c8cc5ddc88b9366a79f /src | |
parent | [build] Allow setting help text URI to be customised via config/branding.h (diff) | |
download | ipxe-4b2800c7d5501ffcde6bd585f45842580a60f8d9.tar.gz ipxe-4b2800c7d5501ffcde6bd585f45842580a60f8d9.tar.xz ipxe-4b2800c7d5501ffcde6bd585f45842580a60f8d9.zip |
[build] Allow product tag line to be customised via config/branding.h
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/config/branding.h | 9 | ||||
-rw-r--r-- | src/usr/autoboot.c | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/config/branding.h b/src/config/branding.h index d1d4c4e1..cca68b6e 100644 --- a/src/config/branding.h +++ b/src/config/branding.h @@ -29,6 +29,15 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define PRODUCT_URI "http://ipxe.org" /* + * Tag line + * + * If your PRODUCT_SHORT_NAME is longer than the four characters used + * by "iPXE", then the standard tag line "Open Source Network Boot + * Firmware" is unlikely to fit neatly onto the screen. + */ +#define PRODUCT_TAG_LINE "Open Source Network Boot Firmware" + +/* * Error messages * * iPXE error messages comprise a summary error message diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c index 31b1ff6e..4bcb64d4 100644 --- a/src/usr/autoboot.c +++ b/src/usr/autoboot.c @@ -552,7 +552,7 @@ void ipxe ( struct net_device *netdev ) { * */ printf ( NORMAL "\n\n" PRODUCT_NAME "\n" BOLD PRODUCT_SHORT_NAME " %s" - NORMAL " -- Open Source Network Boot Firmware -- " + NORMAL " -- " PRODUCT_TAG_LINE " -- " CYAN PRODUCT_URI NORMAL "\nFeatures:", product_version ); for_each_table_entry ( feature, FEATURES ) printf ( " %s", feature->name ); |