blob: b4d55be1b0d3a8a16b1c6c9aef12e58cab73cd53 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "A CPU benchmark utility"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05002DESCRIPTION = "BYTE Magazine's native benchmarks (also called BYTEmark) \
3designed to expose the capabilities of a system's CPU, FPU, \
4and memory system."
Brad Bishop6e60e8b2018-02-01 10:27:11 -05005HOMEPAGE = "http://www.tux.org/~mayer/linux/"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05006LICENSE = "nbench-byte"
7LIC_FILES_CHKSUM = "file://README;beginline=57;endline=66;md5=020ef579f8fa5746b7e307a54707834f"
8SECTION = "console/utils"
9
Brad Bishop19323692019-04-05 15:28:33 -040010SRC_URI = "https://fossies.org/linux/misc/old/${BP}.tar.gz \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011 file://nbench_32bits.patch \
12 file://Makefile-add-more-dependencies-to-pointer.h.patch"
13
14SRC_URI[md5sum] = "285dfab361080759d477ea1fe7d3093a"
15SRC_URI[sha256sum] = "723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed9101ac"
16
17EXTRA_OEMAKE = "-e MAKEFLAGS="
18
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019TARGET_CC_ARCH += "${LDFLAGS}"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020do_compile() {
21 oe_runmake
22}
23
24do_install () {
25 install -d ${D}${bindir}
26 install -m 0644 NNET.DAT ${D}${bindir}/
27 install -m 0755 nbench ${D}${bindir}/
28}