diff options
Diffstat (limited to 'recipes-support/libipt')
-rw-r--r-- | recipes-support/libipt/libipt_2.0.1.bb | 16 | ||||
-rw-r--r-- | recipes-support/libipt/libipt_2.1.2.bb | 34 |
2 files changed, 34 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 @@ | |||
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=c91702d8338efc75588b838922b7b803" | ||
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.0" | ||
15 | |||
16 | SRCREV = "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..edc9c371 --- /dev/null +++ b/recipes-support/libipt/libipt_2.1.2.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=491799fd9431e57ad52cb0ef3497afce" | ||
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 = "ffc548e5fbc2fa3e9795d4593f861e1df99cf906" | ||
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" | ||