aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro/recipes-extra/calibrator/calibrator_0.9e.bb
blob: 0b85a540945bafd03145e9fa2df460d37d82ee91 (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
25
SUMMARY = "Cache-Memory and TLB calibration tool"
DESCRIPTION = "The Calibrator is a small C program that is supposed to \
analyze a computers (cache-) memory system and extract the following \
parameters: \
number of cache levels, main memory access latency, number of TLB levels."
HOMEPAGE = "http://homepages.cwi.nl/~manegold/Calibrator/"
SECTION = "console/tools"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://calibrator.c;endline=39;md5=102be98d5b443582cffa8eb4ee776af8"
PR = "r0"

SRC_URI = "http://homepages.cwi.nl/~manegold/Calibrator/src/calibrator.c \
    file://fix_conflicting_types_for_round.patch"

S = "${WORKDIR}"

do_compile() {
    ${CC} ${CFLAGS} calibrator.c -o calibrator -lm
}

do_install() {
    install -D -p -m0755 calibrator ${D}${bindir}/calibrator
}

COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"