Files
Nicolas Ferre 0eb5d0c7e8 nbench-byte: fix project URL
www.tux.org/~mayer/linux/ location can't be found anymore. It seems that the
www.math.utah.edu website gives an alternative to reach nbench-byte tool: use
this one to fix the issue.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-01-29 18:57:44 -05:00

28 lines
910 B
BlitzBasic

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.math.utah.edu/~mayer/linux/"
LICENSE = "nbench-byte"
LIC_FILES_CHKSUM = "file://README;beginline=57;endline=66;md5=020ef579f8fa5746b7e307a54707834f"
SECTION = "console/utils"
SRC_URI = "http://www.math.utah.edu/~mayer/linux/${BP}.tar.gz \
file://nbench_32bits.patch \
file://Makefile-add-more-dependencies-to-pointer.h.patch"
SRC_URI[md5sum] = "285dfab361080759d477ea1fe7d3093a"
SRC_URI[sha256sum] = "723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed9101ac"
EXTRA_OEMAKE = "-e MAKEFLAGS="
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}/
}