Skip to content

Commit b17f4a3

Browse files
committed
resource-tuner: add recipe to recipe-support layer
Add initial BitBake recipe for resource-tuner in the recipe-support layer. Signed-off-by: Jagadeesh Pagadala <[email protected]>
1 parent 026ef6f commit b17f4a3

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
HOMEPAGE = "https://github.com/qualcomm/resource-tuner"
2+
SUMMARY = "Userspace daemon for dynamic System resource management"
3+
DESCRIPTION = "Resource Tuner is a lightweight userspace daemon that monitors system \
4+
resources and enforces policies using Linux kernel interfaces such as cgroups and sysfs."
5+
6+
LICENSE = "BSD-3-Clause"
7+
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2998c54c288b081076c9af987bdf4838"
8+
9+
SRC_URI = "git://github.com/qualcomm/resource-tuner.git;protocol=https;branch=main"
10+
SRCREV = "681a19ba3f6731f3acf1e1022fcd94298eecff82"
11+
12+
inherit cmake pkgconfig systemd
13+
14+
DEPENDS += "libyaml systemd"
15+
16+
PACKAGECONFIG ??= "cli signals state-detector tests"
17+
PACKAGECONFIG[cli] = "-DBUILD_CLI=ON,-DBUILD_CLI=OFF"
18+
PACKAGECONFIG[signals] = "-DBUILD_SIGNALS=ON,-DBUILD_SIGNALS=OFF"
19+
PACKAGECONFIG[state-detector] = "-DBUILD_STATE_DETECTOR=ON,-DBUILD_STATE_DETECTOR=OFF"
20+
PACKAGECONFIG[tests] = "-DBUILD_TESTS=ON,-DBUILD_TESTS=OFF"
21+
22+
FILES:${PN} += "${sysconfdir}/resource-tuner/*"
23+
SYSTEMD_SERVICE:${PN} = "resource-tuner.service"
24+
25+
PACKAGE_BEFORE_PN += "${PN}-tests"
26+
FILES:${PN}-tests += "${sysconfdir}/resource-tuner/tests/* \
27+
${bindir}/RestuneComponentTests \
28+
${bindir}/RestuneIntegrationTests \
29+
${libdir}/libRestuneTestUtils.so* \
30+
${libdir}/libRestunePlugin.so* "

0 commit comments

Comments
 (0)