]> code.ossystems Code Review - openembedded-core.git/commitdiff
gummiboot: fix the installed but not shipped warning
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 27 Mar 2014 07:29:02 +0000 (15:29 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Mar 2014 15:44:16 +0000 (15:44 +0000)
Fix the warning:
WARNING: QA Issue: gummiboot: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/gummiboot
  /usr/lib/gummiboot/gummibootx64.efi

This is because it uses "/usr/lib" in gummibootlibdir, use ${libdir} to
fix it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-bsp/gummiboot/gummiboot_git.bb

index 52a692b469c056a2efdb31566fa8af23d50b4fa9..80df2b6ae3075acf1a50896aa63911a5d3ec86d2 100644 (file)
@@ -26,6 +26,8 @@ EXTRA_OECONF = "--disable-manpages --with-efi-includedir=${STAGING_INCDIR} \
                 --with-efi-ldsdir=${STAGING_LIBDIR} \
                 --with-efi-libdir=${STAGING_LIBDIR}"
 
+EXTRA_OEMAKE += "gummibootlibdir=${libdir}/gummiboot"
+
 do_deploy () {
         install ${B}/gummiboot*.efi ${DEPLOYDIR}
 }