summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/cpufrequtils/cpufrequtils_006.bb
blob: ccc7be7dd902fe64c1864edb03ff7d9c220c9668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DESCRIPTION = "To make access to the Linux kernel cpufreq subsystem easier for users and cpufreq userspace tools, a cpufrequtils package was created"

DEPENDS = "libtool-cross"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

SRC_URI = "http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils-${PV}.tar.bz2 \
           file://fix-proc-stat-reading.patch \
"
SRC_URI[md5sum] = "124b0de8f3a4d672539a85ce13eed869"
SRC_URI[sha256sum] = "b8e77854a1400b0cc73295f3ee5d0a0c3650438e677526a199e08f6680c15aa1"

export CROSS = "${TARGET_PREFIX}"
export LIBTOOL = "${HOST_SYS}-libtool --tag cc"
TARGET_CC_ARCH += "${LDFLAGS}"

do_compile() {
        oe_runmake -e
}
do_install() {
        oe_runmake -e install DESTDIR=${D}
}