summaryrefslogtreecommitdiffstats
path: root/recipes-support/libipt/libipt_2.0.1.bb
diff options
context:
space:
mode:
authorYeoh Ee Peng <ee.peng.yeoh@intel.com>2020-03-26 16:08:08 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2020-03-27 10:09:21 +0800
commitd849b6449f0eea25a3d44aaad76b33d5c27c42d5 (patch)
treeeabfa7e2b5b234b7b3d7e69c0bf9036169609b94 /recipes-support/libipt/libipt_2.0.1.bb
parent7bf0e59c6dbf773c6b7239f5065c9a15df0843cb (diff)
downloadmeta-intel-d849b6449f0eea25a3d44aaad76b33d5c27c42d5.tar.gz
recipes-support/libipt: Enable test package
Enable libipt test package: - include ptdump, pttc - include sample test files for pttc Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-support/libipt/libipt_2.0.1.bb')
-rw-r--r--recipes-support/libipt/libipt_2.0.1.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-support/libipt/libipt_2.0.1.bb b/recipes-support/libipt/libipt_2.0.1.bb
index 1b3e1e64..68f6d5c5 100644
--- a/recipes-support/libipt/libipt_2.0.1.bb
+++ b/recipes-support/libipt/libipt_2.0.1.bb
@@ -14,3 +14,19 @@ S = "${WORKDIR}/git"
14SRC_URI = "git://github.com/intel/libipt.git;protocol=https;branch=stable/v2.0" 14SRC_URI = "git://github.com/intel/libipt.git;protocol=https;branch=stable/v2.0"
15 15
16SRCREV = "916d777123bf60d323890557347570e5e19dfa12" 16SRCREV = "916d777123bf60d323890557347570e5e19dfa12"
17
18EXTRA_OECMAKE += " \
19 -DPTDUMP=ON \
20 -DPTTC=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 ${WORKDIR}/git/test/src/* ${D}${bindir}/libipt/tests
29}
30
31FILES_${PN}-test = "${bindir}"
32PACKAGES =+ "${PN}-test"