summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorDengke Du <dengke.du@windriver.com>2017-09-11 21:20:09 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-18 11:07:29 +0100
commit4842db00b7aaac96f7bbdfbea5d8bcdb2ebac81b (patch)
tree38a672d369a6ec991ef786860f62cd4cf3b9d38c /meta/recipes-core
parent7324bc16a2cd906c255214d85aff2e555e86ce59 (diff)
downloadpoky-4842db00b7aaac96f7bbdfbea5d8bcdb2ebac81b.tar.gz
ovmf: fix do_compile error when len(tmp)=410
[YOCTO #11354] (From OE-Core rev: b6f344bd311faca36cb3a4acdafac2728409ad90) (From OE-Core rev: 4aab5f369bbe083922de65b0509635060ce905ab) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/ovmf/ovmf/0004-ovmf-enable-long-path-file.patch18
-rw-r--r--meta/recipes-core/ovmf/ovmf_git.bb3
2 files changed, 20 insertions, 1 deletions
diff --git a/meta/recipes-core/ovmf/ovmf/0004-ovmf-enable-long-path-file.patch b/meta/recipes-core/ovmf/ovmf/0004-ovmf-enable-long-path-file.patch
new file mode 100644
index 0000000000..d954fbe314
--- /dev/null
+++ b/meta/recipes-core/ovmf/ovmf/0004-ovmf-enable-long-path-file.patch
@@ -0,0 +1,18 @@
1From 032fc6b1f7691bd537fd2a6bd13821fcf3c45e64 Mon Sep 17 00:00:00 2001
2From: Dengke Du <dengke.du@windriver.com>
3Date: Mon, 11 Sep 2017 02:21:55 -0400
4Subject: [PATCH] ovmf: enable long path file
5
6Upstream-Status: Pending
7Signed-off-by: Dengke Du <dengke.du@windriver.com>
8---
9 BaseTools/Source/C/Common/CommonLib.h | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/BaseTools/Source/C/Common/CommonLib.h b/BaseTools/Source/C/Common/CommonLib.h
13index 2041b89e2d..8116aa2e35 100644
14--- a/BaseTools/Source/C/Common/CommonLib.h
15+++ b/BaseTools/Source/C/Common/CommonLib.h
16@@ -22 +22 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17-#define MAX_LONG_FILE_PATH 500
18+#define MAX_LONG_FILE_PATH 1023
diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb
index 1872c950ca..50c01aa3b6 100644
--- a/meta/recipes-core/ovmf/ovmf_git.bb
+++ b/meta/recipes-core/ovmf/ovmf_git.bb
@@ -11,10 +11,11 @@ PACKAGECONFIG ??= ""
11PACKAGECONFIG[secureboot] = ",,," 11PACKAGECONFIG[secureboot] = ",,,"
12 12
13SRC_URI = "git://github.com/tianocore/edk2.git;branch=master \ 13SRC_URI = "git://github.com/tianocore/edk2.git;branch=master \
14 file://0001-ia32-Dont-use-pie.patch \
14 file://0002-ovmf-update-path-to-native-BaseTools.patch \ 15 file://0002-ovmf-update-path-to-native-BaseTools.patch \
15 file://0003-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch \ 16 file://0003-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch \
17 file://0004-ovmf-enable-long-path-file.patch \
16 file://VfrCompile-increase-path-length-limit.patch \ 18 file://VfrCompile-increase-path-length-limit.patch \
17 file://0001-ia32-Dont-use-pie.patch \
18 file://no-stack-protector-all-archs.patch \ 19 file://no-stack-protector-all-archs.patch \
19 " 20 "
20UPSTREAM_VERSION_UNKNOWN = "1" 21UPSTREAM_VERSION_UNKNOWN = "1"