diff options
Diffstat (limited to 'meta-xilinx-core/recipes-xrt/zocl/zocl_202220.2.14.0.bb')
-rw-r--r-- | meta-xilinx-core/recipes-xrt/zocl/zocl_202220.2.14.0.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-xrt/zocl/zocl_202220.2.14.0.bb b/meta-xilinx-core/recipes-xrt/zocl/zocl_202220.2.14.0.bb new file mode 100644 index 00000000..39e9f9fb --- /dev/null +++ b/meta-xilinx-core/recipes-xrt/zocl/zocl_202220.2.14.0.bb | |||
@@ -0,0 +1,21 @@ | |||
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 | require recipes-xrt/xrt/xrt-${PV}.inc | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8" | ||
9 | LICENSE = "GPL-2.0-or-later & Apache-2.0" | ||
10 | |||
11 | S = "${WORKDIR}/git/src/runtime_src/core/edge/drm/zocl" | ||
12 | |||
13 | inherit module | ||
14 | |||
15 | pkg_postinst_ontarget:${PN}() { | ||
16 | #!/bin/sh | ||
17 | echo "Unloading old XRT Linux kernel modules" | ||
18 | ( rmmod zocl || true ) > /dev/null 2>&1 | ||
19 | echo "Loading new XRT Linux kernel modules" | ||
20 | modprobe zocl | ||
21 | } | ||