summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-multimedia/s3ctl-module/s3ctl-tp-user-module.bb
blob: 9fc34f9919d626b2d0eb0540014ba18ee52fc44c (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
require ../../include/rcar-gen2-modules-common.inc 

LICENSE = "CLOSED"
DEPENDS = "s3ctl-kernel-module s3ctl-user-module"
SRC_URI = "file://s3ctl-tp-user.tar.bz2"
S = "${WORKDIR}/s3ctl"

do_compile() {
    # Build user test program
    cd ${S}
    make all ARCH=arm
}

do_install() {
    # Create shared folder
    mkdir -p ${D}${RENESAS_DATADIR}/bin/
    # Copy user test program
    cp ${S}/s3tp ${D}${RENESAS_DATADIR}/bin/
}

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

FILES_${PN} = " \
    ${RENESAS_DATADIR}/bin/s3tp \
"

RPROVIDES_${PN} += "s3ctl-tp-user-module"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"