summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-tp-user-module.bb
blob: de21e323ccae4b0f8fb60f0727dad3c4818bac37 (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 = "mmngr-kernel-module mmngr-user-module"
SRC_URI = "file://mmngr-tp-user.tar.bz2"

S = "${WORKDIR}/mmngr"

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

do_install() {
    # Copy kernel test program
    mkdir -p ${D}${RENESAS_DATADIR}/bin/
    cp ${S}/mmtp ${D}${RENESAS_DATADIR}/bin/
}

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

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