From: Cedric Hombourger <
Cedric_H...@mentor.com>
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 <
Cedric_H...@mentor.com>
---
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