]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-codec: fix i.MX8MQ support
authorGary Bisson <gary.bisson@boundarydevices.com>
Thu, 12 Jul 2018 11:19:49 +0000 (13:19 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 12 Jul 2018 14:31:13 +0000 (11:31 -0300)
- Fix dependency from imx-vpu to virtual/imxvpu
  - Since both imx-vpu and imx-vpu-hantro can provide virtual/imxvpu.
- Add missing "--enable-armv8" configuration option

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
recipes-multimedia/imx-codec/imx-codec_4.3.5.bb

index daf5b84d940365e9cdead0fa5e2c9fa1309cbba7..380a17aafab805e0182617b1813a95b8d6bb8646 100644 (file)
@@ -16,13 +16,14 @@ SRC_URI[sha256sum] = "6bb54f91c3ca18567e14d95d3858022dc9be00dc86e9edfdb544d1240a
 
 inherit fsl-eula-unpack autotools pkgconfig
 
-# Choose between Soft Float-Point and Hard Float-Point
-EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '', d)}"
+# Choose between 32-bit and 64-bit binaries and between Soft Float-Point and Hard Float-Point
+EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '--enable-armv8', \
+                   bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '', d), d)}"
 
 PACKAGECONFIG ?= ""
 PACKAGECONFIG_imxvpu = "vpu"
 
-PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,imx-vpu"
+PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,virtual/imxvpu"
 
 do_install_append() {
     # FIXME: This link points to nowhere