aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/bootfiles/renesas-ota-bootfiles.bb
blob: db08f3f46b9e5c4e44e18c1673b2ad549712b7ad (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
DESCRIPTION = "Boot files (bootscripts etc.) for Renesas RCar-M3 board"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

inherit deploy

COMPATIBLE_MACHINE = "(m3ulcb|h3ulcb|ebisu)"

S = "${WORKDIR}"

SRC_URI_append_sota = "file://uEnv-ota-m3ulcb.txt \
                       file://uEnv-ota-h3ulcb.txt"

do_deploy() {
    install -d ${DEPLOYDIR}/${PN}
}

do_deploy_append_sota() {
    install -m 0755 ${WORKDIR}/uEnv-ota-${BOARD_NAME}.txt ${DEPLOYDIR}/${PN}/uEnv.txt
}

addtask deploy before do_package after do_install
do_deploy[dirs] += "${DEPLOYDIR}/${PN}"

PACKAGE_ARCH = "${MACHINE_ARCH}"