mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-01 13:58:05 +00:00
Cmake upgrade to 4.0+ removes compatibility with versions older than 3.5 [1].
Set a baseline policy version for CMake using
CMAKE_POLICY_VERSION_MINIMUM variable until until libipt is upgraded to include the fix [2].
[1] https://git.yoctoproject.org/poky/commit/?id=2c9a6b4a81b642fc3e6815aa83d1c9bafb56c7db
[2] fa7d42de25
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
34 lines
1.1 KiB
BlitzBasic
34 lines
1.1 KiB
BlitzBasic
SUMMARY = "Intel(R) Processor Trace Decoder Library"
|
|
DESCRIPTION = "The Intel Processor Trace (Intel PT) Decoder Library is Intel's \
|
|
reference implementation for decoding Intel PT. It can be used as a standalone \
|
|
library or it can be partially or fully integrated into your tool."
|
|
HOMEPAGE = "https://github.com/intel/libipt"
|
|
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=491799fd9431e57ad52cb0ef3497afce"
|
|
|
|
inherit pkgconfig cmake
|
|
|
|
SRC_URI = "git://github.com/intel/libipt.git;protocol=https;branch=stable/v2.1"
|
|
|
|
SRCREV = "ffc548e5fbc2fa3e9795d4593f861e1df99cf906"
|
|
|
|
EXTRA_OECMAKE += " \
|
|
-DPTDUMP=ON \
|
|
-DPTTC=ON \
|
|
-DPTSEG=ON \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
|
"
|
|
|
|
do_install:append() {
|
|
install -d ${D}${bindir}/libipt
|
|
install -d ${D}${bindir}/libipt/tests
|
|
|
|
cp -r ${B}/bin/* ${D}${bindir}/libipt/
|
|
cp -r ${S}/test/src/* ${D}${bindir}/libipt/tests
|
|
}
|
|
|
|
FILES:${PN}-test = "${bindir}"
|
|
PACKAGES =+ "${PN}-test"
|