Skip to contentSkip to conversation

intel-speed-select: Add new recipe for the tool to valid 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

Please ignore this. Will send V2.

Thanks,
Yongxin

Quoted 54 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Yongxin Liu
Sent: Monday, June 8, 2020 19:50
To: [email protected]
Subject: [oe][meta-oe][PATCH] 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

(quoted diff) +0 -0

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

meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb new file +15 -0
@@ -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}"

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