diff options
author | Neel Gandhi <neel.gandhi@amd.com> | 2023-06-20 19:37:38 +0530 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2023-06-21 15:07:01 -0500 |
commit | 141399fa45667f852bb606055a54305c2f35f503 (patch) | |
tree | 6cd9bc584a077929888e3b64e17f6e17dd1f31f4 | |
parent | 6fd3d3532311675a7074cbbd4efe1683ead6624b (diff) | |
download | meta-xilinx-141399fa45667f852bb606055a54305c2f35f503.tar.gz |
vcu: Update recipes to keep makefiles compatible with original vcu patches
Install vcu-omx-il and ctrl-sw application executables with the help of makefiles
instead of build recipes by providing INSTALL_PATH macro to the makefile, so that
vcu makefiles will be compatible with original files.
kernel-module-vcu change:
dmaproxy: Fix leak in case of DMA channel is not available
libomxil-xlnx changes:
Revert "Update name of omx test application binaries"
Makefile: Enable install rules
libvcu-xlnx changes:
chore: update to revision 20230530
Makefile: Copy executables from bin directory
vcu-firmware change:
chore: update to revision 20230530
Signed-off-by: Neel Gandhi <neel.gandhi@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
4 files changed, 6 insertions, 10 deletions
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.2.bb index 007e473b..7f2b205f 100644 --- a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.2.bb +++ b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.2.bb | |||
@@ -13,7 +13,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | |||
13 | 13 | ||
14 | BRANCH = "master" | 14 | BRANCH = "master" |
15 | REPO = "git://github.com/Xilinx/vcu-modules.git;protocol=https" | 15 | REPO = "git://github.com/Xilinx/vcu-modules.git;protocol=https" |
16 | SRCREV = "b7664198e562afa3e2c96174b6e746f3770672f1" | 16 | SRCREV = "689c8d823b383e2a8a5249be49de627f866cfaf2" |
17 | 17 | ||
18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
19 | SRC_URI = " \ | 19 | SRC_URI = " \ |
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2023.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2023.2.bb index 7902ec6d..80d0155e 100644 --- a/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2023.2.bb +++ b/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx_2023.2.bb | |||
@@ -8,7 +8,7 @@ PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', | |||
8 | 8 | ||
9 | BRANCH ?= "master" | 9 | BRANCH ?= "master" |
10 | REPO ?= "git://github.com/Xilinx/vcu-omx-il.git;protocol=https" | 10 | REPO ?= "git://github.com/Xilinx/vcu-omx-il.git;protocol=https" |
11 | SRCREV = "10531499e0361b1ce97e0214ffa4e4b32887565e" | 11 | SRCREV = "3a04b5adc661a0eced626c1373dbbfe699ae6fe0" |
12 | 12 | ||
13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
14 | SRC_URI = "${REPO};${BRANCHARG}" | 14 | SRC_URI = "${REPO};${BRANCHARG}" |
@@ -37,8 +37,7 @@ do_install() { | |||
37 | 37 | ||
38 | install -m 0644 ${S}/omx_header/*.h ${D}${includedir}/vcu-omx-il | 38 | install -m 0644 ${S}/omx_header/*.h ${D}${includedir}/vcu-omx-il |
39 | 39 | ||
40 | install -Dm 0755 ${S}/bin/omx_decoder ${D}/${bindir}/omx_decoder | 40 | oe_runmake install INSTALL_PATH=${D}${bindir} |
41 | install -Dm 0755 ${S}/bin/omx_encoder ${D}/${bindir}/omx_encoder | ||
42 | 41 | ||
43 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.core ${D}/${libdir}/ | 42 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.core ${D}/${libdir}/ |
44 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.video_decoder ${D}/${libdir}/ | 43 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.video_decoder ${D}/${libdir}/ |
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.2.bb index 0c0548d7..fdadca3f 100644 --- a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.2.bb +++ b/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.2.bb | |||
@@ -8,7 +8,7 @@ PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', | |||
8 | 8 | ||
9 | BRANCH ?= "master" | 9 | BRANCH ?= "master" |
10 | REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" | 10 | REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" |
11 | SRCREV = "5cff15b1f76e10e727798967428030af9c8a9a33" | 11 | SRCREV = "84b0856cad7844d69f57ac4d9447c20930875475" |
12 | 12 | ||
13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
14 | SRC_URI = "${REPO};${BRANCHARG}" | 14 | SRC_URI = "${REPO};${BRANCHARG}" |
@@ -27,10 +27,7 @@ do_install() { | |||
27 | install -d ${D}${libdir} | 27 | install -d ${D}${libdir} |
28 | install -d ${D}${includedir}/vcu-ctrl-sw/include | 28 | install -d ${D}${includedir}/vcu-ctrl-sw/include |
29 | 29 | ||
30 | install -Dm 0755 ${S}/bin/ctrlsw_encoder ${D}/${bindir}/ctrlsw_encoder | 30 | oe_runmake install_headers INSTALL_HDR_PATH=${D}${includedir}/vcu-ctrl-sw/include INSTALL_PATH=${D}/${bindir} |
31 | install -Dm 0755 ${S}/bin/ctrlsw_decoder ${D}/${bindir}/ctrlsw_decoder | ||
32 | |||
33 | oe_runmake install_headers INSTALL_HDR_PATH=${D}${includedir}/vcu-ctrl-sw/include | ||
34 | oe_libinstall -C ${S}/bin/ -so liballegro_decode ${D}/${libdir}/ | 31 | oe_libinstall -C ${S}/bin/ -so liballegro_decode ${D}/${libdir}/ |
35 | oe_libinstall -C ${S}/bin/ -so liballegro_encode ${D}/${libdir}/ | 32 | oe_libinstall -C ${S}/bin/ -so liballegro_encode ${D}/${libdir}/ |
36 | } | 33 | } |
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2023.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2023.2.bb index 837a06b3..4ab139fc 100644 --- a/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2023.2.bb +++ b/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware_2023.2.bb | |||
@@ -10,7 +10,7 @@ S = "${WORKDIR}/git" | |||
10 | 10 | ||
11 | BRANCH ?= "master" | 11 | BRANCH ?= "master" |
12 | REPO ?= "git://github.com/Xilinx/vcu-firmware.git;protocol=https" | 12 | REPO ?= "git://github.com/Xilinx/vcu-firmware.git;protocol=https" |
13 | SRCREV = "535a1a4101d3231cd59521f7cdd871d091a4cc39" | 13 | SRCREV = "f4ab98d26aa3e244a487f518f5a76071137c8402" |
14 | 14 | ||
15 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 15 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
16 | SRC_URI = "${REPO};${BRANCHARG}" | 16 | SRC_URI = "${REPO};${BRANCHARG}" |