Skip to contentSkip to conversation

intel-speed-select: Add new recipe for the tool to valid Intel SST

PATCH Superseded Yongxin Liu 1 participant 1 message Jun 8, 2020

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 intel-speed-select: Add new recipe for the tool to valid Intel SST

---
 .../intel-speed-select/intel-speed-select.bb       | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb new file +27 -0
new file mode 100644
index 000000000..e62c227ed
@@ -0,0 +1,27 @@
+SUMMARY = "A tool to validate Intel Speed Select commands"
+
+DESCRIPTION = "The Intel Speed Select Technology (Intel SST) is a powerful new \
+collection of features giving you more granular control over CPU performance \
+for optimized total cost of ownership."
+
+LICENSE = "GPLv2"
+
+inherit kernelsrc
+
+do_populate_lic[depends] += "virtual/kernel:do_patch"
+
+B = "${WORKDIR}/${BPN}-${PV}"
+
+EXTRA_OEMAKE = "-C ${S}/tools/power/x86/intel-speed-select O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+do_configure[depends] += "virtual/kernel:do_shared_workdir"
+
+do_compile() {
+	oe_runmake
+}
+
+do_install() {
+	oe_runmake DESTDIR=${D} install
+}
Signature · 1 line
2.14.4