aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-test/mybw/mybw_git.bb
blob: 17e2336bf7beb07d99642ac8b90b7968984fc395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"