aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-multimedia/s3ctl-module/s3ctl-tp-user-module.bb
blob: 3fcc5ade5998f5b5b83b5f98eb6c7772827cf1af (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}/usr/local/bin/
    # Copy user test program
    cp ${S}/s3tp ${D}/usr/local/bin/
}

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

FILES_${PN} = " \
    /usr/local/bin/s3tp \
"

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