aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp
diff options
context:
space:
mode:
authorMin Ma <min.ma@xilinx.com>2019-03-08 14:46:29 -0800
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-06-28 15:54:33 -0700
commit7e409b78bb958410d6f4b4e98377e3d05d316704 (patch)
tree29a565fdc9b7c773f4b831812d3d3b7ea63a4767 /meta-xilinx-bsp
parente30e41b3b6c8fb5744e0b34535854a526e0f5c60 (diff)
downloadmeta-xilinx-7e409b78bb958410d6f4b4e98377e3d05d316704.tar.gz
meta-xilinx-7e409b78bb958410d6f4b4e98377e3d05d316704.tar.bz2
meta-xilinx-7e409b78bb958410d6f4b4e98377e3d05d316704.zip
xrt: Xilinx Runtime User Space Libraries and headers
This recipe enables building of Xilinx Runtime User Space Libraries and headers. Xilinx Runtime (XRT) is implemented as as a combination of userspace and kernel driver components. XRT supports both PCIe based boards like U200, U250 and MPSoC base embedded platforms. XRT provides a standardized software interface to Xilinx FPGA Signed-off-by: Min Ma <min.ma@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp')
-rw-r--r--meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb b/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb
new file mode 100644
index 0000000..d91f3b8
--- /dev/null
+++ b/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Xilinx Runtime(XRT) libraries"
+DESCRIPTION = "Xilinx Runtime User Space Libraries and headers"
+
+LICENSE = "GPLv2 & Apache-2.0"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=fa343562af4b9b922b8d7fe7b0b6d000 \
+ file://runtime_src/driver/xclng/drm/xocl/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+ file://runtime_src/driver/xclng/xrt/user_gem/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
+ file://runtime_src/driver/xclng/tools/xbutil/LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87"
+
+SRC_URI = "git://github.com/Xilinx/XRT.git;protocol=https"
+
+PV = "2.2.0+git${SRCPV}"
+SRCREV = "69a7e181d8d53c3b5dde9e8f17ace790141eaa01"
+
+S = "${WORKDIR}/git/src"
+
+inherit cmake
+
+BBCLASSEXTEND = "native nativesdk"
+
+# util-linux is for libuuid-dev.
+DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native"
+RDEPENDS_${PN} = "bash ocl-icd boost-system boost-filesystem"
+
+EXTRA_OECMAKE += " \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_EXPORT_COMPILE_COMANDS=ON \
+ "