aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro/recipes-extra/idlestat/idlestat_git.bb
blob: db4897445772bdbd569c2b22464a17fda5a956dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "tool to show how long a CPU or cluster enters idle state"
SUMMARY = "Idlestat is a tool which can show how long a CPU or cluster \
enters idle state. This infomation is obtained using traces from trace-cmd \
or ftrace tools."
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=eb723b61539feef013de476e68b5c50a"
SRCREV = "8df1b106e426c1f4335838992857fdb956b04234"
PV = "0.7+git${SRCPV}"

SRC_URI = "git://git.linaro.org/power/idlestat.git \
           file://Makefile.patch \
"

S = "${WORKDIR}/git"

do_compile() {
    oe_runmake CC='${CC}'
}

do_install () {
    install -D -p -m0755 idlestat ${D}/${sbindir}/idlestat
}