diff options
author | Yongxin Liu <yongxin.liu@windriver.com> | 2020-06-09 13:59:23 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-06-10 20:55:08 -0700 |
commit | 668d0152c7630563cfbaa959e83b957d753e256d (patch) | |
tree | f25fbcd430f1cb5b37a2b36b4d2cbd2f410095bb | |
parent | 15e57216d05e31935855b38fb41b5732aee257ef (diff) | |
download | meta-openembedded-668d0152c7630563cfbaa959e83b957d753e256d.tar.gz |
intel-speed-select: Add new recipe for the tool to validate Intel SST
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb new file mode 100644 index 0000000000..53f6de1068 --- /dev/null +++ b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | SUMMARY = "A tool to validate Intel Speed Select commands" | ||
2 | |||
3 | DESCRIPTION = "The Intel Speed Select Technology (Intel SST) is a powerful new \ | ||
4 | collection of features giving you more granular control over CPU performance \ | ||
5 | for optimized total cost of ownership." | ||
6 | |||
7 | LICENSE = "GPLv2" | ||
8 | |||
9 | inherit kernelsrc | ||
10 | |||
11 | COMPATIBLE_HOST = '(x86_64|i.86).*-linux' | ||
12 | COMPATIBLE_HOST_libc-musl = 'null' | ||
13 | |||
14 | do_populate_lic[depends] += "virtual/kernel:do_patch" | ||
15 | |||
16 | B = "${WORKDIR}/${BPN}-${PV}" | ||
17 | |||
18 | EXTRA_OEMAKE = "-C ${S}/tools/power/x86/intel-speed-select O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}" | ||
19 | |||
20 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
21 | |||
22 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
23 | |||
24 | do_compile() { | ||
25 | oe_runmake | ||
26 | } | ||
27 | |||
28 | do_install() { | ||
29 | oe_runmake DESTDIR=${D} install | ||
30 | } | ||