aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-dpaa2/dpl-examples/dpl-examples_git.bb
blob: dfa22958dbc6edfee36ef59313c9b52b2ded5d18 (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
SUMMARY = "Datapath layout examples"
LICENSE = "Freescale-EULA"
LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"

DEPENDS = "dtc-native"

inherit deploy

SRC_URI = "git://git.freescale.com/ppc/sdk/dpl-examples.git;nobranch=1"
SRCREV = "cea280fd06b9c43fa73f3d9ef629b171cccd0fcd"

S = "${WORKDIR}/git"

do_install () {
    install -d ${D}/boot
    install -m 644 ${S}/ls2080a/RDB/*.dtb ${D}/boot
}

do_deploy () {
    install -d ${DEPLOYDIR}/dpl-examples
    install -m 644 ${S}/ls2080a/RDB/*.dtb ${DEPLOYDIR}/dpl-examples
}
addtask deploy before do_build after do_install

PACKAGES += "${PN}-image"
FILES_${PN}-image += "/boot"

COMPATIBLE_MACHINE = "(ls2080ardb)"
PACKAGE_ARCH = "${MACHINE_ARCH}"