summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-bsp/bootfiles/porter-bootfiles.bb
blob: 7dbd3bf21c2a0108bb28871dd8d9c4f30ef24cba (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
DESCRIPTION = "Boot files (bootscripts etc.) for Renesas Porter board"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

inherit deploy

COMPATIBLE_MACHINE = "porter"

S = "${WORKDIR}"

SRC_URI_append_sota = " file://uEnv-ota.txt"

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

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

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

PACKAGE_ARCH = "${MACHINE_ARCH}"