summaryrefslogtreecommitdiffstats
path: root/recipes-support/libipt/libipt_2.0.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-support/libipt/libipt_2.0.2.bb')
-rw-r--r--recipes-support/libipt/libipt_2.0.2.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-support/libipt/libipt_2.0.2.bb b/recipes-support/libipt/libipt_2.0.2.bb
new file mode 100644
index 0000000..6e524fd
--- /dev/null
+++ b/recipes-support/libipt/libipt_2.0.2.bb
@@ -0,0 +1,33 @@
1SUMMARY = "Intel(R) Processor Trace Decoder Library"
2DESCRIPTION = "The Intel Processor Trace (Intel PT) Decoder Library is Intel's \
3reference implementation for decoding Intel PT. It can be used as a standalone \
4library or it can be partially or fully integrated into your tool."
5HOMEPAGE = "https://github.com/intel/libipt"
6
7LICENSE = "BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=c46e7f00db37676465d8c6ccf91b3412"
9
10inherit pkgconfig cmake
11
12S = "${WORKDIR}/git"
13
14SRC_URI = "git://github.com/intel/libipt.git;protocol=https;branch=stable/v2.0"
15
16SRCREV = "41445e40c8e9bc097c3609509cf142b6ad6dc160"
17
18EXTRA_OECMAKE += " \
19 -DPTDUMP=ON \
20 -DPTTC=ON \
21 -DCMAKE_SKIP_RPATH=ON \
22 "
23
24do_install_append() {
25 install -d ${D}${bindir}/libipt
26 install -d ${D}${bindir}/libipt/tests
27
28 cp -r ${B}/bin/* ${D}${bindir}/libipt/
29 cp -r ${WORKDIR}/git/test/src/* ${D}${bindir}/libipt/tests
30}
31
32FILES_${PN}-test = "${bindir}"
33PACKAGES =+ "${PN}-test"