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

S = "${WORKDIR}/mmngrbuf"

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}/mmbuftp ${D}${RENESAS_DATADIR}/bin/
}

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

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