diff options
author | Diego Sueiro <diego.sueiro@arm.com> | 2020-11-02 08:13:57 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-11-03 16:28:25 -0500 |
commit | cc99031c0b28231ad96c05ecf7c48593358324df (patch) | |
tree | 1d2b673f9f674534dac5b448a764e0df5246eaa2 | |
parent | 3620511fadd2b0faab085b5b616268f1e8ce5f1f (diff) | |
download | meta-virtualization-cc99031c0b28231ad96c05ecf7c48593358324df.tar.gz |
xen: extend SYSROOT_DIRS to include installed binaries
If a recipe DEPENDS on xen we should include its binaries in the sysroot.
The do_install task also ships files to /boot and /usr/lib64. Hence, extend
SYSROOT_DIRS to include these paths.
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-extended/xen/xen-hypervisor.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-extended/xen/xen-hypervisor.inc b/recipes-extended/xen/xen-hypervisor.inc index 6a75d166..916bd3ce 100644 --- a/recipes-extended/xen/xen-hypervisor.inc +++ b/recipes-extended/xen/xen-hypervisor.inc | |||
@@ -55,6 +55,8 @@ do_compile() { | |||
55 | do_install() { | 55 | do_install() { |
56 | oe_runmake DESTDIR="${D}" install-xen | 56 | oe_runmake DESTDIR="${D}" install-xen |
57 | } | 57 | } |
58 | # The do_install also ships files in /boot and /usr/lib64 | ||
59 | SYSROOT_DIRS += "/boot ${exec_prefix}/lib64" | ||
58 | 60 | ||
59 | do_deploy() { | 61 | do_deploy() { |
60 | install -d ${DEPLOYDIR} | 62 | install -d ${DEPLOYDIR} |