summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/rcw/ls2-rcw_git.bb
blob: bee28883717fed1ade7dbd53bf9293f8262a050e (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
SUMMARY = "Reset Configuration Word"
DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets"
LICENSE = "Freescale-Binary-EULA"
LIC_FILES_CHKSUM = "file://Freescale-Binary-EULA;md5=8835a59e50213e1b21243dd00c933e47"

inherit deploy

INHIBIT_DEFAULT_DEPS = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"

SRC_URI = "git://git.freescale.com/ppc/sdk/ls2-rcw.git;nobranch=1"
SRCREV = "ef79fb9f96cd1bae1a122df54c61a05c91c11372"

S = "${WORKDIR}/git"

do_install () {
    install -d ${D}/boot/rcw
    cp -r ${S}/ls2080a/RDB/* ${D}/boot/rcw
}

do_deploy () {
    install -d ${DEPLOYDIR}/rcw
    cp -r ${S}/ls2080a/RDB/* ${DEPLOYDIR}/rcw
}
addtask deploy before do_build after do_install

PACKAGES += "${PN}-image"
FILES_${PN}-image += "/boot"
COMPATIBLE_MACHINE = "(ls2080ardb)"