diff options
Diffstat (limited to 'meta-xilinx-core/recipes-xrt/zocl/zocl_202420.2.18.0.bb')
-rw-r--r-- | meta-xilinx-core/recipes-xrt/zocl/zocl_202420.2.18.0.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202420.2.18.0.bb b/meta-xilinx-core/recipes-xrt/zocl/zocl_202420.2.18.0.bb new file mode 100644 index 00000000..e5efd89c --- /dev/null +++ b/meta-xilinx-core/recipes-xrt/zocl/zocl_202420.2.18.0.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "Xilinx Runtime(XRT) driver module" | ||
2 | DESCRIPTION = "Xilinx Runtime driver module provides memory management and compute unit schedule" | ||
3 | |||
4 | COMPATIBLE_MACHINE:microblaze = "none" | ||
5 | |||
6 | PROVIDES += "zocl" | ||
7 | |||
8 | require recipes-xrt/xrt/xrt-${PV}.inc | ||
9 | |||
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" | ||
11 | LICENSE = "GPL-2.0-or-later & Apache-2.0" | ||
12 | |||
13 | COMPATIBLE_MACHINE ?= "^$" | ||
14 | COMPATIBLE_MACHINE:zynqmp = ".*" | ||
15 | COMPATIBLE_MACHINE:versal = ".*" | ||
16 | COMPATIBLE_MACHINE:versal-net = ".*" | ||
17 | |||
18 | S = "${WORKDIR}/git/src/runtime_src/core/edge/drm/zocl" | ||
19 | |||
20 | inherit module | ||
21 | |||
22 | pkg_postinst_ontarget:${PN}() { | ||
23 | #!/bin/sh | ||
24 | echo "Unloading old XRT Linux kernel modules" | ||
25 | ( rmmod zocl || true ) > /dev/null 2>&1 | ||
26 | echo "Loading new XRT Linux kernel modules" | ||
27 | modprobe zocl | ||
28 | } | ||