diff options
Diffstat (limited to 'recipes-support/libipt/libipt_2.0.5.bb')
| -rw-r--r-- | recipes-support/libipt/libipt_2.0.5.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-support/libipt/libipt_2.0.5.bb b/recipes-support/libipt/libipt_2.0.5.bb new file mode 100644 index 00000000..c1f67c1d --- /dev/null +++ b/recipes-support/libipt/libipt_2.0.5.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 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=bc005f06a45e41cdefcb8f5aceb1f5c9" | ||
| 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 = "e315d53984ebe0e40dbb71b213bcf2cba42496f4" | ||
| 17 | |||
| 18 | EXTRA_OECMAKE += " \ | ||
| 19 | -DPTDUMP=ON \ | ||
| 20 | -DPTTC=ON \ | ||
| 21 | -DCMAKE_SKIP_RPATH=ON \ | ||
| 22 | " | ||
| 23 | |||
| 24 | do_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 | |||
| 32 | FILES:${PN}-test = "${bindir}" | ||
| 33 | PACKAGES =+ "${PN}-test" | ||
