mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 17:56:41 +00:00
* Fix the following build error with gcc-15:
nbench1.c:3520:13: error: conflicting types for 'adjust_mid_wts'; have 'void(int)'
3520 | static void adjust_mid_wts(int patt)
| ^~~~~~~~~~~~~~
In file included from nbench1.c:64:
nbench1.h:373:13: note: previous declaration of 'adjust_mid_wts' with type 'void(void)'
373 | static void adjust_mid_wts();
| ^~~~~~~~~~~~~~
Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 lines
933 B
BlitzBasic
29 lines
933 B
BlitzBasic
SUMMARY = "A CPU benchmark utility"
|
|
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 = "nbench-byte"
|
|
LIC_FILES_CHKSUM = "file://README;beginline=57;endline=66;md5=020ef579f8fa5746b7e307a54707834f"
|
|
SECTION = "console/utils"
|
|
|
|
SRC_URI = "https://fossies.org/linux/misc/old/${BP}.tar.gz \
|
|
file://nbench_32bits.patch \
|
|
file://Makefile-add-more-dependencies-to-pointer.h.patch \
|
|
file://0001-Fix-build-error-with-gcc-15.patch"
|
|
|
|
SRC_URI[sha256sum] = "723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed9101ac"
|
|
|
|
EXTRA_OEMAKE = "-e MAKEFLAGS="
|
|
|
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
|
do_compile() {
|
|
oe_runmake
|
|
}
|
|
|
|
do_install () {
|
|
install -d ${D}${bindir}
|
|
install -m 0644 NNET.DAT ${D}${bindir}/
|
|
install -m 0755 nbench ${D}${bindir}/
|
|
}
|