Skip to contentSkip to conversation

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

PATCH Yongxin Liu 1 participant 1 message Jun 8, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

V1->V2:
1) Fix typo in commit log. "valid" -> "validate"
2) Add "COMPATIBLE_HOST" in bb file.

Thanks,
Yongxin

Quoted 56 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Yongxin Liu
Sent: Tuesday, June 9, 2020 05:00
To: [email protected]
Subject: [oe][meta-oe][PATCH V2] intel-speed-select: Add new recipe for the tool to validate Intel SST

---
 .../intel-speed-select/intel-speed-select.bb       | 29
++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-oe/recipes-kernel/intel-speed-select/intel-speed-

select.bb

(quoted diff) +0 -0

select.bb b/meta-oe/recipes-kernel/intel-speed-select/intel-speed- select.bb
new file mode 100644
index 000000000..a34f379b4

meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb new file +17 -0
@@ -0,0 +1,29 @@
+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
+
+COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
+
+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}"

meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb new file +12 -1
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+do_configure[depends] += "virtual/kernel:do_shared_workdir"
+
+do_compile() {
+	oe_runmake
+}
+
+do_install() {
+	oe_runmake DESTDIR=${D} install
+}
--

2.14.4