diff options
Diffstat (limited to 'meta/recipes-core/ovmf/ovmf/VfrCompile-increase-path-length-limit.patch')
-rw-r--r-- | meta/recipes-core/ovmf/ovmf/VfrCompile-increase-path-length-limit.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-core/ovmf/ovmf/VfrCompile-increase-path-length-limit.patch b/meta/recipes-core/ovmf/ovmf/VfrCompile-increase-path-length-limit.patch new file mode 100644 index 0000000000..bb12d8beba --- /dev/null +++ b/meta/recipes-core/ovmf/ovmf/VfrCompile-increase-path-length-limit.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From c7722d10c7bcf6be0adcf54abb1d406599dd7914 Mon Sep 17 00:00:00 2001 | ||
2 | From: Patrick Ohly <patrick.ohly@intel.com> | ||
3 | Date: Fri, 24 Feb 2017 01:40:02 +0100 | ||
4 | Subject: [PATCH] VfrCompile: increase path length limit | ||
5 | |||
6 | The VfrCompile tool has a hard-coded maximum length for path names | ||
7 | which turned out to be too small by around 20 characters in the Yocto | ||
8 | autobuilder setup. Increasing the maximum by a factor of 4 is | ||
9 | relatively easy and makes the problem less likely. | ||
10 | |||
11 | Upstream-Status: Inappropriate [configuration] | ||
12 | |||
13 | Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> | ||
14 | --- | ||
15 | BaseTools/Source/C/VfrCompile/EfiVfr.h | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/BaseTools/Source/C/VfrCompile/EfiVfr.h b/BaseTools/Source/C/VfrCompile/EfiVfr.h | ||
19 | index d187902..9ad4a7b 100644 | ||
20 | --- a/BaseTools/Source/C/VfrCompile/EfiVfr.h | ||
21 | +++ b/BaseTools/Source/C/VfrCompile/EfiVfr.h | ||
22 | @@ -19,7 +19,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. | ||
23 | #include "Common/UefiInternalFormRepresentation.h" | ||
24 | #include "Common/MdeModuleHii.h" | ||
25 | |||
26 | -#define MAX_PATH 255 | ||
27 | +#define MAX_PATH 1023 | ||
28 | #define MAX_VFR_LINE_LEN 4096 | ||
29 | |||
30 | #define EFI_IFR_MAX_LENGTH 0xFF | ||
31 | -- | ||
32 | 2.1.4 | ||
33 | |||