Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | DESCRIPTION = "BYTE Magazine's native benchmarks (also called BYTEmark) \ |
| 2 | designed to expose the capabilities of a system's CPU, FPU, \ |
| 3 | and memory system." |
Brad Bishop | 7f28bc5 | 2017-12-03 23:42:40 -0500 | [diff] [blame] | 4 | HOMEPAGE = "http://www.math.utah.edu/~mayer/linux/" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 5 | LICENSE = "nbench-byte" |
| 6 | LIC_FILES_CHKSUM = "file://README;beginline=57;endline=66;md5=020ef579f8fa5746b7e307a54707834f" |
| 7 | SECTION = "console/utils" |
| 8 | |
Brad Bishop | 7f28bc5 | 2017-12-03 23:42:40 -0500 | [diff] [blame] | 9 | SRC_URI = "http://www.math.utah.edu/~mayer/linux/${BP}.tar.gz \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 10 | file://nbench_32bits.patch \ |
| 11 | file://Makefile-add-more-dependencies-to-pointer.h.patch" |
| 12 | |
| 13 | SRC_URI[md5sum] = "285dfab361080759d477ea1fe7d3093a" |
| 14 | SRC_URI[sha256sum] = "723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed9101ac" |
| 15 | |
| 16 | EXTRA_OEMAKE = "-e MAKEFLAGS=" |
| 17 | |
| 18 | TARGET_CC_ARCH += "${CFLAGS} ${LDFLAGS}" |
| 19 | do_compile() { |
| 20 | oe_runmake |
| 21 | } |
| 22 | |
| 23 | do_install () { |
| 24 | install -d ${D}${bindir} |
| 25 | install -m 0644 NNET.DAT ${D}${bindir}/ |
| 26 | install -m 0755 nbench ${D}${bindir}/ |
| 27 | } |