diff options
Diffstat (limited to 'recipes-test/mybw/mybw_git.bb')
-rw-r--r-- | recipes-test/mybw/mybw_git.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-test/mybw/mybw_git.bb b/recipes-test/mybw/mybw_git.bb new file mode 100644 index 0000000..17e2336 --- /dev/null +++ b/recipes-test/mybw/mybw_git.bb @@ -0,0 +1,24 @@ +SUMMARY = "Quick hack to measure memory read performance." +HOMEPAGE = "https://github.com/andersson/mybw" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause-Clear;md5=7a434440b651f4a472ca93716d01033a" + +SRCREV = "f4bdeee1266c273e308d0651522bb59afb5b8211" +SRC_URI = "git://github.com/andersson/mybw;protocol=https;branch=main \ + file://0001-makefile-Allow-CFLAGS-LDFLAGS-from-environment.patch \ + " + +S = "${WORKDIR}/git" + +PV = "0.0+git${SRCPV}" + +do_compile () { + oe_runmake +} + +do_install () { + install -d ${D}${bindir} + install -m 0755 mybw ${D}${bindir}/mybw +} + +LDFLAGS += "-lgcc" |