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