summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ovmf
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-02-27 18:47:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-28 13:21:54 +0000
commit48522906a261f9a552f13b146aa7f3691be37002 (patch)
treea40226291f277540547ebd1c637de5d203cd2378 /meta/recipes-core/ovmf
parent80d29f1cb1e077cc457a6917fa57561a88921fca (diff)
downloadpoky-48522906a261f9a552f13b146aa7f3691be37002.tar.gz
qemu: split the native version into usermode and system parts
The rationale is to streamline the overall build. The system parts are only needed to run target images, and so can be built towards the end of the build process. At the same time, the system parts may need gtk+-native and mesa-native which add significantly to the build time. On the other hand, the usermode parts have almost no dependencies and can be built quickly. They are needed at recipes build time to run target binaries, and so are required quite early in the typical build process. (From OE-Core rev: 4a558a5f2db68538e0edad798ddf48eb9510a7d6) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/ovmf')
-rw-r--r--meta/recipes-core/ovmf/ovmf_git.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb
index d2ecb619d9..71828d8d8d 100644
--- a/meta/recipes-core/ovmf/ovmf_git.bb
+++ b/meta/recipes-core/ovmf/ovmf_git.bb
@@ -43,8 +43,7 @@ PARALLEL_MAKE = ""
43 43
44S = "${WORKDIR}/git" 44S = "${WORKDIR}/git"
45 45
46DEPENDS_class-native="util-linux-native iasl-native qemu-native" 46DEPENDS_class-native="util-linux-native iasl-native"
47
48DEPENDS_class-target="ovmf-native" 47DEPENDS_class-target="ovmf-native"
49 48
50DEPENDS_append = " nasm-native" 49DEPENDS_append = " nasm-native"
@@ -232,6 +231,10 @@ FILES_ovmf-shell-efi = " \
232 efi/ \ 231 efi/ \
233" 232"
234 233
234DEPLOYDEP = ""
235DEPLOYDEP_class-target = "qemu-system-native:do_populate_sysroot"
236do_deploy[depends] += "${DEPLOYDEP}"
237
235do_deploy() { 238do_deploy() {
236} 239}
237do_deploy[cleandirs] = "${DEPLOYDIR}" 240do_deploy[cleandirs] = "${DEPLOYDIR}"