From: Cedric Hombourger <[email protected]>

Configurations with multilib enabled may see libraries and efi
binaries shipped in a different folder (e.g. /usr/lib64 instead
of /usr/lib). Use ${libdir} and other variables to remove as
many hard-coded paths as possible.

Signed-off-by: Cedric Hombourger <[email protected]>
---
 recipes-bsp/efibootguard/efibootguard.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-bsp/efibootguard/efibootguard.bb 
b/recipes-bsp/efibootguard/efibootguard.bb
index 99340fa..4f8f816 100644
--- a/recipes-bsp/efibootguard/efibootguard.bb
+++ b/recipes-bsp/efibootguard/efibootguard.bb
@@ -38,11 +38,11 @@ EXTRA_OECONF = "--with-gnuefi-sys-dir=${STAGING_DIR_HOST} \
                 --with-gnuefi-lds-dir=${STAGING_LIBDIR} \
                 --with-gnuefi-lib-dir=${STAGING_LIBDIR}"
 
-FILES_${PN}-tools = "/usr/bin"
+FILES_${PN}-tools = "${bindir}"
 FILES_${PN}-tools-dbg = "/usr/src/debug"
-FILES_${PN}-tools-staticdev = "/usr/lib/lib*.a"
-FILES_${PN}-tools-dev = "/usr/include/*"
-FILES_${PN}-efi = "/usr/lib/efibootguard"
+FILES_${PN}-tools-staticdev = "${libdir}/lib*.a"
+FILES_${PN}-tools-dev = "${includedir}/${BPN}"
+FILES_${PN}-efi = "${libdir}/${BPN}"
 
 do_deploy () {
        install ${B}/efibootguard*.efi ${DEPLOYDIR}
-- 
2.7.4

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/1509032458-18569-1-git-send-email-Cedric_Hombourger%40mentor.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to