aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-tp-user-module.bb
blob: 515f784f3893c9dbefa7c270ad37094a63b45c94 (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}/usr/local/bin/
    cp ${S}/mmtp ${D}/usr/local/bin/
}

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

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