aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2018-06-12 00:07:48 -0700
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2018-06-21 08:47:50 -0700
commitaf64e521e2037a30f6b8740caccc1519567fb5f0 (patch)
tree8cf71130c585a35a5f7de4090d0844da2e020867
parentb798ea3b7aeb4dcad296222c161cc54d86922b3f (diff)
downloadmeta-xilinx-af64e521e2037a30f6b8740caccc1519567fb5f0.tar.gz
meta-xilinx-af64e521e2037a30f6b8740caccc1519567fb5f0.tar.bz2
meta-xilinx-af64e521e2037a30f6b8740caccc1519567fb5f0.zip
recipes-multimedia/vcu/*: Set package arch to SOC_FAMILY
Set package arch of VCU to SOC_FAMILY. Even though VCU hwcodec is available only in ev devices, we are enabling the package for all MPSoC devices. gstreamer is the application used for video pipelining. When the VCU HW is not found, the behaviour will default to using software based gstreamer (in case of cg and eg devices). By making package arch common for all zynqmp devices, we can use the same sstate-cache and RPM feeds for gstreamer components. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r--meta-xilinx-bsp/recipes-multimedia/vcu/kernel-module-vcu.bb2
-rw-r--r--meta-xilinx-bsp/recipes-multimedia/vcu/libomxil-xlnx.bb2
-rw-r--r--meta-xilinx-bsp/recipes-multimedia/vcu/libvcu-xlnx.bb2
-rw-r--r--meta-xilinx-bsp/recipes-multimedia/vcu/vcu-firmware.bb2
4 files changed, 8 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-multimedia/vcu/kernel-module-vcu.bb b/meta-xilinx-bsp/recipes-multimedia/vcu/kernel-module-vcu.bb
index 06f2009..e09dd5d 100644
--- a/meta-xilinx-bsp/recipes-multimedia/vcu/kernel-module-vcu.bb
+++ b/meta-xilinx-bsp/recipes-multimedia/vcu/kernel-module-vcu.bb
@@ -25,3 +25,5 @@ RDEPENDS_${PN} = "vcu-firmware"
COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE_zynqmp = "zynqmp"
+
+PACKAGE_ARCH = "${SOC_FAMILY}"
diff --git a/meta-xilinx-bsp/recipes-multimedia/vcu/libomxil-xlnx.bb b/meta-xilinx-bsp/recipes-multimedia/vcu/libomxil-xlnx.bb
index 09f59f1..76fdb9a 100644
--- a/meta-xilinx-bsp/recipes-multimedia/vcu/libomxil-xlnx.bb
+++ b/meta-xilinx-bsp/recipes-multimedia/vcu/libomxil-xlnx.bb
@@ -19,6 +19,8 @@ S = "${WORKDIR}/git"
COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE_zynqmp = "zynqmp"
+PACKAGE_ARCH = "${SOC_FAMILY}"
+
DEPENDS = "libvcu-xlnx"
RDEPENDS_${PN} = "kernel-module-vcu libvcu-xlnx"
diff --git a/meta-xilinx-bsp/recipes-multimedia/vcu/libvcu-xlnx.bb b/meta-xilinx-bsp/recipes-multimedia/vcu/libvcu-xlnx.bb
index b3d68cd..8e2369b 100644
--- a/meta-xilinx-bsp/recipes-multimedia/vcu/libvcu-xlnx.bb
+++ b/meta-xilinx-bsp/recipes-multimedia/vcu/libvcu-xlnx.bb
@@ -19,6 +19,8 @@ S = "${WORKDIR}/git"
COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE_zynqmp = "zynqmp"
+PACKAGE_ARCH = "${SOC_FAMILY}"
+
RDEPENDS_${PN} = "kernel-module-vcu"
EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'"
diff --git a/meta-xilinx-bsp/recipes-multimedia/vcu/vcu-firmware.bb b/meta-xilinx-bsp/recipes-multimedia/vcu/vcu-firmware.bb
index 3ffe929..1cb2125 100644
--- a/meta-xilinx-bsp/recipes-multimedia/vcu/vcu-firmware.bb
+++ b/meta-xilinx-bsp/recipes-multimedia/vcu/vcu-firmware.bb
@@ -19,6 +19,8 @@ SRC_URI = "${REPO};${BRANCHARG}"
COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE_zynqmp = "zynqmp"
+PACKAGE_ARCH = "${SOC_FAMILY}"
+
do_install() {
install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d_b.fw ${D}/lib/firmware/al5d_b.fw
install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d.fw ${D}/lib/firmware/al5d.fw