diff options
| -rw-r--r-- | meta-oe/recipes-benchmark/coremark/coremark_git.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/coremark/coremark_git.bb b/meta-oe/recipes-benchmark/coremark/coremark_git.bb new file mode 100644 index 0000000000..f4974b754f --- /dev/null +++ b/meta-oe/recipes-benchmark/coremark/coremark_git.bb | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | SUMMARY = "EEMBC CoreMark CPU benchmark" | ||
| 2 | DESCRIPTION = "CoreMark is a CPU benchmark program" | ||
| 3 | HOMEPAGE = "https://www.eembc.org/coremark/" | ||
| 4 | LICENSE = "Apache-2.0 & LicenseRef-EEMBC-AUA" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=0a18b17ae63deaa8a595035f668aebe1" | ||
| 6 | |||
| 7 | SRC_URI = "git://github.com/eembc/coremark.git;branch=main;protocol=https" | ||
| 8 | SRCREV = "1f483d5b8316753a742cbf5590caf5bd0a4e4777" | ||
| 9 | |||
| 10 | inherit pkgconfig | ||
| 11 | |||
| 12 | do_configure[noexec] = "1" | ||
| 13 | |||
| 14 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
| 15 | |||
| 16 | do_compile() { | ||
| 17 | oe_runmake compile | ||
| 18 | } | ||
| 19 | |||
| 20 | do_install() { | ||
| 21 | install -d ${D}${bindir} | ||
| 22 | install -m 0755 ${S}/coremark.exe ${D}${bindir}/coremark | ||
| 23 | } | ||
