summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/ovmf/ovmf_git.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb
index 895ed6cfee..998902579f 100644
--- a/meta/recipes-core/ovmf/ovmf_git.bb
+++ b/meta/recipes-core/ovmf/ovmf_git.bb
@@ -14,7 +14,7 @@ SRCREV="4575a602ca6072ee9d04150b38bfb143cbff8588"
14 14
15inherit deploy 15inherit deploy
16 16
17PARALLEL_MAKE = "" 17PARALLEL_MAKE_class-native = ""
18 18
19S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
20 20
@@ -94,6 +94,7 @@ do_compile_class-native() {
94 94
95do_compile_class-target() { 95do_compile_class-target() {
96 export LFLAGS="${LDFLAGS}" 96 export LFLAGS="${LDFLAGS}"
97 PARALLEL_JOBS="${@ '${PARALLEL_MAKE}'.replace('-j', '-n')}"
97 OVMF_ARCH="X64" 98 OVMF_ARCH="X64"
98 if [ "${TARGET_ARCH}" != "x86_64" ] ; then 99 if [ "${TARGET_ARCH}" != "x86_64" ] ; then
99 OVMF_ARCH="IA32" 100 OVMF_ARCH="IA32"
@@ -111,7 +112,7 @@ do_compile_class-target() {
111 bbnote FIXED_GCCVER is ${FIXED_GCCVER} 112 bbnote FIXED_GCCVER is ${FIXED_GCCVER}
112 build_dir="${S}/Build/Ovmf$OVMF_DIR_SUFFIX/RELEASE_${FIXED_GCCVER}" 113 build_dir="${S}/Build/Ovmf$OVMF_DIR_SUFFIX/RELEASE_${FIXED_GCCVER}"
113 114
114 ${S}/OvmfPkg/build.sh -a $OVMF_ARCH -b RELEASE -t ${FIXED_GCCVER} 115 ${S}/OvmfPkg/build.sh $PARALLEL_JOBS -a $OVMF_ARCH -b RELEASE -t ${FIXED_GCCVER}
115 ln ${build_dir}/FV/OVMF.fd ${WORKDIR}/ovmf/ovmf.fd 116 ln ${build_dir}/FV/OVMF.fd ${WORKDIR}/ovmf/ovmf.fd
116 ln ${build_dir}/FV/OVMF_CODE.fd ${WORKDIR}/ovmf/ovmf.code.fd 117 ln ${build_dir}/FV/OVMF_CODE.fd ${WORKDIR}/ovmf/ovmf.code.fd
117 ln ${build_dir}/FV/OVMF_VARS.fd ${WORKDIR}/ovmf/ovmf.vars.fd 118 ln ${build_dir}/FV/OVMF_VARS.fd ${WORKDIR}/ovmf/ovmf.vars.fd