diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-08-13 14:52:23 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-08-25 08:40:04 -0600 |
commit | ee959b648945d06867badb7e8d2dec5040c26332 (patch) | |
tree | 035822d49a795c9f8415cc05d02eda35f87fee57 | |
parent | e943df49630b0f8d7a6f7a9731d769d928457c52 (diff) | |
download | meta-xilinx-ee959b648945d06867badb7e8d2dec5040c26332.tar.gz |
meta-xilinx-standalone-sdt: base-pdi: Move from meta-amd-adaptive-socs
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r-- | meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_%.bbappend | 1 | ||||
-rw-r--r-- | meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_%.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_%.bbappend new file mode 100644 index 00000000..a868f78f --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_%.bbappend | |||
@@ -0,0 +1 @@ | |||
require ${@'base-pdi_sdt.inc' if d.getVar('XILINX_WITH_ESW') == 'sdt' else ''} | |||
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..a41038d3 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc | |||
@@ -0,0 +1,16 @@ | |||
1 | # Unset SRC_URI and use the PDI_PATH from PDI_PATH_DEPENDS (usually sdt-artifacts) SYSROOT_DIR | ||
2 | |||
3 | SRC_URI = "" | ||
4 | |||
5 | DEPENDS += "sdt-artifacts" | ||
6 | |||
7 | PDI_SKIP_CHECK = "1" | ||
8 | |||
9 | do_install() { | ||
10 | if [ -f ${PDI_PATH} ]; then | ||
11 | install -d ${D}/boot | ||
12 | install -m 0644 ${PDI_PATH} ${D}/boot/base-design.pdi | ||
13 | else | ||
14 | bbfatal "No base pdi supplied" | ||
15 | fi | ||
16 | } | ||