]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Allow product URI to be customised via config/branding.h
authorMichael Brown <mcb30@ipxe.org>
Wed, 11 Feb 2015 13:08:36 +0000 (13:08 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 11 Feb 2015 14:11:28 +0000 (14:11 +0000)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/prefix/romprefix.S
src/config/branding.h
src/usr/autoboot.c

index d1ceb0b43fb04bfb7b0406f438bc702701a9cc37..cac8075e563a4782d53e2cf28d08cb263333a131 100644 (file)
@@ -591,7 +591,9 @@ init_message:
        .ascii  PRODUCT_NAME
        .ascii  "\n"
        .ascii  PRODUCT_SHORT_NAME
-       .asciz  " (http://ipxe.org)"
+       .ascii  " ("
+       .ascii  PRODUCT_URI
+       .asciz  ")"
        .size   init_message, . - init_message
 .ifeqs BUSTYPE, "PCIR"
 init_message_pci:
index e96d8ca7628d0c5e3b6ed04c8e0422a135ff664e..abb32612a72580a779d44e56139ad0d2f8a16378 100644 (file)
@@ -26,6 +26,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
  */
 #define PRODUCT_NAME ""
 #define PRODUCT_SHORT_NAME "iPXE"
+#define PRODUCT_URI "http://ipxe.org"
 
 #include <config/local/branding.h>
 
index 42718ee1c6cfcab97f30eac7cf83adf4b6aadc1f..31b1ff6e27e8c419c49046c8c464cad7cca62ed7 100644 (file)
@@ -553,8 +553,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 -- "
-                CYAN "http://ipxe.org" NORMAL "\n"
-                "Features:", product_version );
+                CYAN PRODUCT_URI NORMAL "\nFeatures:", product_version );
        for_each_table_entry ( feature, FEATURES )
                printf ( " %s", feature->name );
        printf ( "\n" );