]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-vpu-hantro: Mark PACKAGE_ARCH as MACHINE_SOCARCH
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 19 Feb 2022 01:09:34 +0000 (22:09 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 21 Feb 2022 23:06:28 +0000 (20:06 -0300)
The compilation vary depending on the target SoC we wish to use so we
must ensure it doesn't end in generic architecture feed.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.6.0.bb
recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.24.0.bb

index 3dc5d4dbc15ddc8e10cada675e037c2a67e2db5f..caa1829791208653333602368483183b667e3618 100644 (file)
@@ -32,4 +32,5 @@ do_install () {
 
 FILES:${PN} = "/"
 
+PACKAGE_ARCH = "${MACHINE_SOCARCH}"
 COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)"
index 6290c6e5550014ddd4a8504e3f5bc696277f8c1a..04340f305d76bcd2571ba226af3087fe50db1e44 100644 (file)
@@ -32,4 +32,5 @@ FILES:${PN} += "/unit_tests"
 
 RDEPENDS:${PN} += "imx-vpu-hantro-daemon"
 
+PACKAGE_ARCH = "${MACHINE_SOCARCH}"
 COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)"