[meta-freescale] [meta-fsl-arm][RFC PATCH] libimxvpuapi: use libdir from cross environment

Max Krummenacher max.oss.09 at gmail.com
Thu Jun 23 15:52:10 PDT 2016


Pass $libdir to 'waf configure' to prevent using the build hosts libdir.

Fixes:
WARNING: libimxvpuapi-0.10.2-r0 do_package: QA Issue: libimxvpuapi: Files/directories were installed but not shipped in any package:
  /usr/lib64/libimxvpuapi.so
  /usr/lib64/libimxvpuapi.so.0
  /usr/lib64/libimxvpuapi.so.0.10.2
  /usr/lib64/pkgconfig
  /usr/lib64/pkgconfig/libimxvpuapi.pc

Signed-off-by: Max Krummenacher <max.krummenacher at toradex.com>
---
 recipes-multimedia/libimxvpuapi/libimxvpuapi_0.10.2.bb | 2 ++
 1 file changed, 2 insertions(+)

Hi

I'm seeing the above warning when building libimxvpuapi (both in master and
jethro) on an x86-64 build host. Looks like the recipe is picking up the lib
installation path from the build host and not from the build targets setting.

Is someone else seeing this? While the patch fixes it I'm a bit concerned
I'm doing something wrong because no one else reported this.

Regards
Max

diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi_0.10.2.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi_0.10.2.bb
index bd30b12..26d46d5 100644
--- a/recipes-multimedia/libimxvpuapi/libimxvpuapi_0.10.2.bb
+++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi_0.10.2.bb
@@ -14,3 +14,5 @@ S = "${WORKDIR}/git"
 inherit waf pkgconfig
 
 COMPATIBLE_MACHINE = "(mx6q|mx6dl)"
+
+EXTRA_OECONF = "--libdir=${libdir}"
-- 
2.6.6



More information about the meta-freescale mailing list