summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ovmf/ovmf/0001-ovmf-update-path-to-native-BaseTools.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/ovmf/ovmf/0001-ovmf-update-path-to-native-BaseTools.patch')
-rw-r--r--meta/recipes-core/ovmf/ovmf/0001-ovmf-update-path-to-native-BaseTools.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-core/ovmf/ovmf/0001-ovmf-update-path-to-native-BaseTools.patch b/meta/recipes-core/ovmf/ovmf/0001-ovmf-update-path-to-native-BaseTools.patch
new file mode 100644
index 0000000000..6ecb23b29f
--- /dev/null
+++ b/meta/recipes-core/ovmf/ovmf/0001-ovmf-update-path-to-native-BaseTools.patch
@@ -0,0 +1,34 @@
1From 0a8362cfb9f00870d70687475665b131dd82c947 Mon Sep 17 00:00:00 2001
2From: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
3Date: Thu, 9 Jun 2016 02:23:01 -0700
4Subject: [PATCH 1/5] ovmf: update path to native BaseTools
5
6BaseTools is a set of utilities to build EDK-based firmware. These utilities
7are used during the build process. Thus, they need to be built natively.
8When cross-compiling, we need to provide a path to the location of these
9tools. The BBAKE_EDK_TOOLS_PATH string is used as a pattern to be replaced
10with the appropriate location before building.
11
12Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
13Upstream-Status: Pending
14
15---
16 OvmfPkg/build.sh | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh
20index 91b1442ade..1858dae31a 100755
21--- a/OvmfPkg/build.sh
22+++ b/OvmfPkg/build.sh
23@@ -24,7 +24,7 @@ then
24 # this assumes svn pulls have the same root dir
25 # export EDK_TOOLS_PATH=`pwd`/../BaseTools
26 # This version is for the tools source in edk2
27- export EDK_TOOLS_PATH=`pwd`/BaseTools
28+ export EDK_TOOLS_PATH=BBAKE_EDK_TOOLS_PATH/BaseTools
29 echo $EDK_TOOLS_PATH
30 source edksetup.sh BaseTools
31 else
32--
332.17.1
34