blob: b91572f9a5ee7b285edc0a180fcc8ff529b90293 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
SUMMARY = "Xilinx Runtime(XRT) driver module"
DESCRIPTION = "Xilinx Runtime driver module provides memory management and compute unit schedule"
COMPATIBLE_MACHINE:microblaze = "none"
PROVIDES += "zocl"
require recipes-xrt/xrt/xrt-${PV}.inc
LIC_FILES_CHKSUM = "file://LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8"
LICENSE = "GPL-2.0-or-later & Apache-2.0"
COMPATIBLE_MACHINE ?= "^$"
COMPATIBLE_MACHINE:zynqmp = ".*"
COMPATIBLE_MACHINE:versal = ".*"
S = "${WORKDIR}/git/src/runtime_src/core/edge/drm/zocl"
inherit module
pkg_postinst_ontarget:${PN}() {
#!/bin/sh
echo "Unloading old XRT Linux kernel modules"
( rmmod zocl || true ) > /dev/null 2>&1
echo "Loading new XRT Linux kernel modules"
modprobe zocl
}
|