diff options
| author | John Toomey <john.toomey@amd.com> | 2023-05-31 15:55:36 +0100 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-06-01 11:29:19 -0500 |
| commit | 1b1d8ace9cef0af0251554ca7cea1dbc032a09d9 (patch) | |
| tree | 7bb501671ed3fb38fd6aefa049ffc346d0e4a9e6 /meta-xilinx-core | |
| parent | 0e2bf7b22fefaf839257b3aec81649cb2f261d05 (diff) | |
| download | meta-xilinx-1b1d8ace9cef0af0251554ca7cea1dbc032a09d9.tar.gz | |
u-boot-xlnx-blob: Error if CC_DTBS_DUP file missing
When processing all of the entries in CC_DTBS_DUP an error should be
thrown if the target dtb file is not found.
Signed-off-by: John Toomey <john.toomey@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core')
| -rw-r--r-- | meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-blob.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-blob.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-blob.inc index 3f32aa7e..baefe293 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-blob.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-blob.inc | |||
| @@ -143,6 +143,8 @@ do_blob_generate () { | |||
| 143 | bbnote "Node ${DT_BLOB_DIR}/${DTB} with ${DT_BLOB_DIR}/${DUP_DTB}" | 143 | bbnote "Node ${DT_BLOB_DIR}/${DTB} with ${DT_BLOB_DIR}/${DUP_DTB}" |
| 144 | dtblob_emit_config "${its_filename}" "$DTB" "$DUP_DTB" "$dtbcount" | 144 | dtblob_emit_config "${its_filename}" "$DTB" "$DUP_DTB" "$dtbcount" |
| 145 | dtbcount=`expr $dtbcount + 1` | 145 | dtbcount=`expr $dtbcount + 1` |
| 146 | else | ||
| 147 | bberror "CC_DTBS_DUP file not found ${DT_BLOB_DIR}/${DTB}.dtb" | ||
| 146 | fi | 148 | fi |
| 147 | done | 149 | done |
| 148 | 150 | ||
