aboutsummaryrefslogtreecommitdiffstats
path: root/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb
blob: 76c83e7dbe23152099ab0ef9ff968eb7d6dd81b2 (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
30
DESCRIPTION = "Package that will install a uEnv.txt file into the SDK prebuilt-binaries directory"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

SRC_URI = "\
    file://uEnv.txt \
"

PR = "r3"
PV = "1.0"

PACKAGE_ARCH = "${MACHINE_ARCH}"

S = "${WORKDIR}"

do_install () {
    install -d ${D}/board-support/prebuilt-images

    install -m 0644 ${S}/uEnv.txt ${D}/board-support/prebuilt-images/
}

FILES:${PN} += "board-support/*"

# deploy files for wic image
inherit deploy
do_deploy() {
    install -d ${DEPLOYDIR}
    install -m 0644 ${S}/uEnv.txt ${DEPLOYDIR}
}
addtask deploy before do_build after do_unpack