aboutsummaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2008-10-31 19:10:28 +0000
committerMichael Brown <mcb30@etherboot.org>2008-10-31 19:10:28 +0000
commit5e6b82104df452bb7f6d2feed67a1d2079ddc4ce (patch)
tree40df662f3546833d506578f76009b18d49476d64 /src/config
parent32bc76f902d2f38974311acc12457f25819bf539 (diff)
downloadipxe-5e6b82104df452bb7f6d2feed67a1d2079ddc4ce.tar.gz
[romprefix] Add vendor branding facilities and guidelines
Some hardware vendors have been known to remove all gPXE-related branding from ROMs that they build. While this is not prohibited by the GPL, it is a little impolite. Add a facility for adding branding messages via two #defines (PRODUCT_NAME and PRODUCT_SHORT_NAME) in config/general.h. This should accommodate all known OEM-mandated branding requirements. Vendors with branding requirements that cannot be satisfied by using PRODUCT_NAME and/or PRODUCT_SHORT_NAME should contact us so that we can extended this facility as necessary.
Diffstat (limited to 'src/config')
-rw-r--r--src/config/general.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/config/general.h b/src/config/general.h
index 3d9663b9..6454b946 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -10,6 +10,22 @@
#include <config/defaults.h>
/*
+ * Branding
+ *
+ * Vendors may use these strings to add their own branding to gPXE.
+ * PRODUCT_NAME is displayed prior to any gPXE branding in startup
+ * messages, and PRODUCT_SHORT_NAME is used where a brief product
+ * label is required (e.g. in BIOS boot selection menus).
+ *
+ * To minimise end-user confusion, it's probably a good idea to either
+ * make PRODUCT_SHORT_NAME a substring of PRODUCT_NAME or leave it as
+ * "gPXE".
+ *
+ */
+#define PRODUCT_NAME ""
+#define PRODUCT_SHORT_NAME "gPXE"
+
+/*
* Timer configuration
*
*/