summaryrefslogtreecommitdiffstats
path: root/recipes-support/libipt
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-support/libipt')
-rw-r--r--recipes-support/libipt/libipt_2.0.1.bb16
-rw-r--r--recipes-support/libipt/libipt_2.1.2.bb32
2 files changed, 32 insertions, 16 deletions
diff --git a/recipes-support/libipt/libipt_2.0.1.bb b/recipes-support/libipt/libipt_2.0.1.bb
deleted file mode 100644
index 1b3e1e64..00000000
--- a/recipes-support/libipt/libipt_2.0.1.bb
+++ /dev/null
@@ -1,16 +0,0 @@
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=c91702d8338efc75588b838922b7b803"
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 = "916d777123bf60d323890557347570e5e19dfa12"
diff --git a/recipes-support/libipt/libipt_2.1.2.bb b/recipes-support/libipt/libipt_2.1.2.bb
new file mode 100644
index 00000000..7806cf6b
--- /dev/null
+++ b/recipes-support/libipt/libipt_2.1.2.bb
@@ -0,0 +1,32 @@
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=491799fd9431e57ad52cb0ef3497afce"
9
10inherit pkgconfig cmake
11
12SRC_URI = "git://github.com/intel/libipt.git;protocol=https;branch=stable/v2.1"
13
14SRCREV = "ffc548e5fbc2fa3e9795d4593f861e1df99cf906"
15
16EXTRA_OECMAKE += " \
17 -DPTDUMP=ON \
18 -DPTTC=ON \
19 -DPTSEG=ON \
20 -DCMAKE_SKIP_RPATH=ON \
21 "
22
23do_install:append() {
24 install -d ${D}${bindir}/libipt
25 install -d ${D}${bindir}/libipt/tests
26
27 cp -r ${B}/bin/* ${D}${bindir}/libipt/
28 cp -r ${S}/test/src/* ${D}${bindir}/libipt/tests
29}
30
31FILES:${PN}-test = "${bindir}"
32PACKAGES =+ "${PN}-test"