diff options
Diffstat (limited to 'meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc')
| -rw-r--r-- | meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc b/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc new file mode 100644 index 00000000..3a8e2dca --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # Unset SRC_URI and use the PDI_PATH from PDI_PATH_DEPENDS (usually sdt-artifacts) SYSROOT_DIR | ||
| 2 | |||
| 3 | SRC_URI = "" | ||
| 4 | |||
| 5 | PDI_PATH_DEPENDS ??= "" | ||
| 6 | DEPENDS += "${PDI_PATH_DEPENDS}" | ||
| 7 | |||
| 8 | PDI_SKIP_CHECK = "1" | ||
| 9 | |||
| 10 | do_install() { | ||
| 11 | if [ -f ${PDI_PATH} ]; then | ||
| 12 | install -d ${D}/boot | ||
| 13 | install -m 0644 ${PDI_PATH} ${D}/boot/base-design.pdi | ||
| 14 | else | ||
| 15 | bbfatal "No base pdi supplied" | ||
| 16 | fi | ||
| 17 | } | ||
