Skip to content

Commit f44b3b2

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 9fdb32b commit f44b3b2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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 = "bf1316a2f0c6e51131e4e8856b70405e3b99f16f"
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+
SYSTEMD_SERVICE:${PN} = "resource-tuner.service"
23+
FILES:${PN} += "${sysconfdir}/resource-tuner/*"

0 commit comments

Comments
 (0)