diff options
Diffstat (limited to 'meta-rcar-gen2/recipes-bsp/bootfiles/porter-bootfiles.bb')
-rw-r--r-- | meta-rcar-gen2/recipes-bsp/bootfiles/porter-bootfiles.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-rcar-gen2/recipes-bsp/bootfiles/porter-bootfiles.bb b/meta-rcar-gen2/recipes-bsp/bootfiles/porter-bootfiles.bb new file mode 100644 index 0000000..2c14a88 --- /dev/null +++ b/meta-rcar-gen2/recipes-bsp/bootfiles/porter-bootfiles.bb @@ -0,0 +1,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}" + |