summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc
blob: 3a8e2dca6e58297138454e958d21d86dcc40d9b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Unset SRC_URI and use the PDI_PATH from PDI_PATH_DEPENDS (usually sdt-artifacts) SYSROOT_DIR

SRC_URI = ""

PDI_PATH_DEPENDS ??= ""
DEPENDS += "${PDI_PATH_DEPENDS}"

PDI_SKIP_CHECK = "1"

do_install() {
    if [ -f ${PDI_PATH} ]; then
        install -d ${D}/boot
        install -m 0644 ${PDI_PATH} ${D}/boot/base-design.pdi
    else
        bbfatal "No base pdi supplied"
    fi
}