blob: 23ea0d8aae82ce8a93bbba6598710415a050f85a [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
Andrew Geissler9aee5002022-03-30 16:27:02 +00007LICENSE = "GPL-2.0-only"
Andrew Geissler89770b02020-06-13 10:40:47 -05008
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
Andrew Geisslerd5838332022-05-27 11:33:10 -050014DEPENDS = "libnl"
15
Andrew Geissler89770b02020-06-13 10:40:47 -050016do_populate_lic[depends] += "virtual/kernel:do_patch"
17
18B = "${WORKDIR}/${BPN}-${PV}"
19
Andrew Geisslerd5838332022-05-27 11:33:10 -050020CFLAGS += "-I${STAGING_INCDIR}/libnl3"
Andrew Geissler89770b02020-06-13 10:40:47 -050021EXTRA_OEMAKE = "-C ${S}/tools/power/x86/intel-speed-select O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}"
22
23PACKAGE_ARCH = "${MACHINE_ARCH}"
24
25do_configure[depends] += "virtual/kernel:do_shared_workdir"
26
27do_compile() {
28 oe_runmake
29}
30
31do_install() {
32 oe_runmake DESTDIR=${D} install
33}