On 2017-10-26 17:40, [email protected] wrote:
> 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}
> 

Thanks, looks good to me. Applied to next.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux

-- 
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/d1a32784-a738-3a27-a6b3-80718fd58e2b%40siemens.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to