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

S = "${WORKDIR}"

LICENSE = "CLOSED"
DEPENDS = "fdpm-user-module mmngr-user-module"
SRC_URI = "file://fdpm-tp-user.tar.bz2"

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

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

    # Copy user test program
    cp ${S}/fdpm/fdpm_tp ${D}${RENESAS_DATADIR}/bin/
}

PACKAGES = "\
    ${PN} \
"

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

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