Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 1 | SUMMARY = "A tool to validate Intel Speed Select commands" |
| 2 | |
| 3 | DESCRIPTION = "The Intel Speed Select Technology (Intel SST) is a powerful new \ |
| 4 | collection of features giving you more granular control over CPU performance \ |
| 5 | for optimized total cost of ownership." |
| 6 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 7 | LICENSE = "GPL-2.0-only" |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 8 | |
| 9 | inherit kernelsrc |
| 10 | |
| 11 | COMPATIBLE_HOST = '(x86_64|i.86).*-linux' |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 12 | COMPATIBLE_HOST:libc-musl = 'null' |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 13 | |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 14 | DEPENDS = "libnl" |
| 15 | |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 16 | do_populate_lic[depends] += "virtual/kernel:do_patch" |
| 17 | |
| 18 | B = "${WORKDIR}/${BPN}-${PV}" |
| 19 | |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 20 | CFLAGS += "-I${STAGING_INCDIR}/libnl3" |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 21 | EXTRA_OEMAKE = "-C ${S}/tools/power/x86/intel-speed-select O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}" |
| 22 | |
| 23 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 24 | |
| 25 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
| 26 | |
| 27 | do_compile() { |
| 28 | oe_runmake |
| 29 | } |
| 30 | |
| 31 | do_install() { |
| 32 | oe_runmake DESTDIR=${D} install |
| 33 | } |