]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Allow product tag line to be customised via config/branding.h
authorMichael Brown <mcb30@ipxe.org>
Wed, 11 Feb 2015 14:22:43 +0000 (14:22 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 11 Feb 2015 14:22:43 +0000 (14:22 +0000)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/config/branding.h
src/usr/autoboot.c

index d1d4c4e1bf3ec5407b7201421bfbd03b4ec0e171..cca68b6e31f14bd68e94e68d19550e01c59c5810 100644 (file)
@@ -28,6 +28,15 @@ FILE_LICENCE ( GPL2_OR_LATER );
 #define PRODUCT_SHORT_NAME "iPXE"
 #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
  *
index 31b1ff6e27e8c419c49046c8c464cad7cca62ed7..4bcb64d4cfc43bc3cc2fa83fe0cfb29bf8733f40 100644 (file)
@@ -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 );