summaryrefslogtreecommitdiffstats
path: root/meta-agl-test/recipes-tests/aio-stress/aio-stress_0.22.bb
blob: d014ca13197d1daacf48b3c4581ece55f5212693 (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
25
26
27
28
29
30
31
32
33
SUMMARY = "Aio Stress Test"
HOMEPAGE = "https://oss.oracle.com/~mason/aio-stress/"
LICENSE = "GPL-2.0-only"
SRC_URI[sha256sum] = "3f4cffcc946fb717fff9d8fe932c7c2ee606efff198408d9fbe16955151445f7"
LIC_FILES_CHKSUM = "file://aio-stress.c;md5=ccb5d196a3736bbd835d582a4e2329c3"

PN = 'aio-stress'

DEPENDS = "libaio"

TARGET_CC_ARCH += "${LDFLAGS}"

SRC_URI = "https://oss.oracle.com/~mason/aio-stress/aio-stress.c \
           file://Makefile "

S = "${WORKDIR}"

FILES:${PN} += " \
    /usr/AGL/agl-test/tests/aio_stress/resource \
"

do_compile() {
    oe_runmake
}

do_install:append() {
    install -d ${D}/usr/AGL/agl-test/tests/aio_stress/resource/
    install -m 0755 ${WORKDIR}/aio-stress ${D}/usr/AGL/agl-test/tests/aio_stress/resource/
}

RDEPENDS:${PN} += " \
    agl-test-framework \
"