aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-bsp/qos/qosif-tp-user-module.bb
blob: 9d9b10191b7b5c59dc387f760e291b16687f61da (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
34
35
36
DESCRIPTION = "QOS Interface test app for R-Car Gen3"

require qosif.inc

DEPENDS = "qosif-user-module"
PN = "qosif-tp-user-module"
PR = "r0"

S = "${WORKDIR}/git"
QOSIF_TP_DIR = "qos_if-tp-user/files/qos_if"

includedir = "/usr/local/include"

do_compile() {
    cd ${S}/${QOSIF_TP_DIR}
    oe_runmake
}

do_install() {
    # Create destination directory
    install -d ${D}/usr/local/bin/

    # Copy user test program
    install -m 755 ${S}/${QOSIF_TP_DIR}/qos_tp ${D}/usr/local/bin/
}

PACKAGES = " \
    ${PN} \
    ${PN}-dbg \
"

FILES_${PN} = "/usr/local/bin/qos_tp"

FILES_${PN}-dbg = " \
    /usr/local/bin/.debug/* \
"