Skip to content

Commit 7f82e3d

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 36fd613 commit 7f82e3d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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 = "02645fc2e7d649e979f9b073b14ed35ca8af5ceb"
11+
12+
inherit cmake pkgconfig systemd
13+
14+
OECMAKE_SOURCEPATH = "${S}/Build"
15+
16+
DEPENDS += "libyaml systemd"
17+
18+
PACKAGECONFIG ??= "cli signals state-detector tests"
19+
PACKAGECONFIG[cli] = "-DBUILD_CLI=ON,-DBUILD_CLI=OFF"
20+
PACKAGECONFIG[signals] = "-DBUILD_SIGNALS=ON,-DBUILD_SIGNALS=OFF"
21+
PACKAGECONFIG[state-detector] = "-DBUILD_STATE_DETECTOR=ON,-DBUILD_STATE_DETECTOR=OFF"
22+
PACKAGECONFIG[tests] = "-DBUILD_TESTS=ON,-DBUILD_TESTS=OFF"
23+
24+
SYSTEMD_SERVICE:${PN} = "resource-tuner.service"
25+
FILES:${PN} += "${sysconfdir}/resource-tuner/*"

0 commit comments

Comments
 (0)