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

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

do_compile() {
    cd ${S}/vspm/
    make all ARCH=arm
}

do_install() {
    # Create destination folder
    mkdir -p ${D}/usr/local/bin/

    # Copy user test program
    cp ${S}/vspm/vspm_tp ${D}/usr/local/bin/
}

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

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