summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb
blob: 37f3e46a7e1716bdc274e3bb706661a49ee2f4c7 (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 = "BYTE Magazine's native benchmarks (also called BYTEmark) \
designed to expose the capabilities of a system's CPU, FPU, \
and memory system."
HOMEPAGE = "http://www.tux.org/~mayer/linux/"
LICENSE = "freely distributable"
LIC_FILES_CHKSUM = "file://README;beginline=57;endline=66;md5=020ef579f8fa5746b7e307a54707834f"
SECTION = "console/utils"

SRC_URI = "http://www.tux.org/~mayer/linux/${PN}-${PV}.tar.gz \
           file://nbench_32bits.patch"

SRC_URI[md5sum] = "285dfab361080759d477ea1fe7d3093a"
SRC_URI[sha256sum] = "723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed9101ac"

TARGET_CC_ARCH += "${CFLAGS} ${LDFLAGS}"
do_compile() {
    oe_runmake
}

do_install () {
    install -d ${D}${bindir}
    install -m 0644 NNET.DAT ${D}${bindir}/
    install -m 0755 nbench ${D}${bindir}/
}