summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-multimedia/vspm-module/vspm-tp-user-module.bb
blob: d765f72a4b8e6d19db5559ccbd158b2619f411f1 (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}${RENESAS_DATADIR}/bin/

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

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

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