diff options
author | Yeoh Ee Peng <ee.peng.yeoh@intel.com> | 2020-03-26 16:08:08 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-03-27 10:09:21 +0800 |
commit | d849b6449f0eea25a3d44aaad76b33d5c27c42d5 (patch) | |
tree | eabfa7e2b5b234b7b3d7e69c0bf9036169609b94 /recipes-support/libipt/libipt_2.0.1.bb | |
parent | 7bf0e59c6dbf773c6b7239f5065c9a15df0843cb (diff) | |
download | meta-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.bb | 16 |
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" | |||
14 | SRC_URI = "git://github.com/intel/libipt.git;protocol=https;branch=stable/v2.0" | 14 | SRC_URI = "git://github.com/intel/libipt.git;protocol=https;branch=stable/v2.0" |
15 | 15 | ||
16 | SRCREV = "916d777123bf60d323890557347570e5e19dfa12" | 16 | SRCREV = "916d777123bf60d323890557347570e5e19dfa12" |
17 | |||
18 | EXTRA_OECMAKE += " \ | ||
19 | -DPTDUMP=ON \ | ||
20 | -DPTTC=ON \ | ||
21 | " | ||
22 | |||
23 | do_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 | |||
31 | FILES_${PN}-test = "${bindir}" | ||
32 | PACKAGES =+ "${PN}-test" | ||