blob: 109a46c4dd0861f8600c261c5f716aaed2af3ce9 [file] [log] [blame]
Andrew Geissler89770b02020-06-13 10:40:47 -05001SUMMARY = "A tool to validate Intel Speed Select commands"
2
3DESCRIPTION = "The Intel Speed Select Technology (Intel SST) is a powerful new \
4collection of features giving you more granular control over CPU performance \
5for optimized total cost of ownership."
6
7LICENSE = "GPLv2"
8
9inherit kernelsrc
10
11COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
Patrick Williams213cb262021-08-07 19:21:33 -050012COMPATIBLE_HOST:libc-musl = 'null'
Andrew Geissler89770b02020-06-13 10:40:47 -050013
14do_populate_lic[depends] += "virtual/kernel:do_patch"
15
16B = "${WORKDIR}/${BPN}-${PV}"
17
18EXTRA_OEMAKE = "-C ${S}/tools/power/x86/intel-speed-select O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}"
19
20PACKAGE_ARCH = "${MACHINE_ARCH}"
21
22do_configure[depends] += "virtual/kernel:do_shared_workdir"
23
24do_compile() {
25 oe_runmake
26}
27
28do_install() {
29 oe_runmake DESTDIR=${D} install
30}