diff options
author | Michael Brown <mcb30@ipxe.org> | 2015-02-11 13:57:34 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2015-02-11 14:11:28 +0000 |
commit | b06fdcf93668670b481491dc97f025e6efe5f450 (patch) | |
tree | f9c6bc9212672d07e87baa79929a447bbe029fe7 /src/interface/efi | |
parent | 92f3bd901e359649cab05c7cb566d333e1f46f19 (diff) | |
download | ipxe-b06fdcf93668670b481491dc97f025e6efe5f450.tar.gz |
[build] Allow setting help text URI to be customised via config/branding.h
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi')
-rw-r--r-- | src/interface/efi/efi_snp_hii.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interface/efi/efi_snp_hii.c b/src/interface/efi/efi_snp_hii.c index c49c76a3..9fadc928 100644 --- a/src/interface/efi/efi_snp_hii.c +++ b/src/interface/efi/efi_snp_hii.c @@ -59,6 +59,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <ipxe/efi/efi_hii.h> #include <ipxe/efi/efi_snp.h> #include <ipxe/efi/efi_strings.h> +#include <config/branding.h> /** EFI platform setup formset GUID */ static EFI_GUID efi_hii_platform_setup_formset_guid @@ -136,7 +137,7 @@ static void efi_snp_hii_questions ( struct efi_snp_device *snpdev, previous = setting; name_id = efi_ifr_string ( ifr, "%s", setting->name ); prompt_id = efi_ifr_string ( ifr, "%s", setting->description ); - help_id = efi_ifr_string ( ifr, "http://ipxe.org/cfg/%s", + help_id = efi_ifr_string ( ifr, PRODUCT_SETTING_URI, setting->name ); question_id = setting->tag; efi_ifr_string_op ( ifr, prompt_id, help_id, |