summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-multimedia/adsp-module/adsp-fw-module.bb
blob: 8849b4c2dd00e1f88844e51c7ece998ef372a3e4 (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
DESCRIPTION = "ADSP Framework for Linux"
LICENSE = "CLOSED"

require include/adsp-control.inc

SRC_URI = "${@base_conditional('USE_ADSP', '1', 'file://RCG3AHFWN0201ZDP.tar.gz', '', d )}"

do_configure[noexec] = "1"
do_compile[noexec] = "1"

PACKAGE_ARCH = "${MACHINE_ARCH}"

S = "${WORKDIR}/RCG3AHFWN0201ZDP"

do_install() {
    # create the firmware dir
    install -d ${D}/lib/firmware

    # install the firmware bin
    install -m 0644 ${S}/lib/firmware/xf-rcar.fw ${D}/lib/firmware
}

PACKAGES = " \
    ${PN} \
"

FILES_${PN} = " \
    /lib/firmware \
"