aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/bootfiles/renesas-ota-bootfiles.bb
blob: 4007e7f9614fdbd5b503fef96d7b780c0a063d11 (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
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 = "(salvator-x|m3ulcb|h3ulcb|ebisu)"

S = "${WORKDIR}"

SRC_URI_append_sota = "file://uEnv-ota-m3ulcb.txt \
                       file://uEnv-ota-h3ulcb.txt \
                       file://uEnv-ota-h3-salvator-xs \
                       file://uEnv-ota-m3-salvator-xs"
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}"