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