diff options
| author | Simon Glass <[email protected]> | 2020-09-06 10:35:32 -0600 |
|---|---|---|
| committer | Bin Meng <[email protected]> | 2020-09-25 11:27:28 +0800 |
| commit | 204aa78e04a290c6836bdb29ba466b9cdfcec3ea (patch) | |
| tree | 2bec893227d08429f383d6e984af6347a66ea072 /tools/binman/test | |
| parent | 2463f165a32370f44186e320aced170d50676b54 (diff) | |
binman: Show an error when a file is missing
The recent support for missing external binaries does not show an error
message when a file is genuinely missing (i.e. it is missing but not
marked as 'external'). This means that when -m is passed to binman, it
will never report a missing file.
Fix this and add a test.
Signed-off-by: Simon Glass <[email protected]>
Acked-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/binman/test')
| -rw-r--r-- | tools/binman/test/173_missing_blob.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/binman/test/173_missing_blob.dts b/tools/binman/test/173_missing_blob.dts new file mode 100644 index 00000000000..ffb655a1cb4 --- /dev/null +++ b/tools/binman/test/173_missing_blob.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + blob { + filename = "missing"; + }; + }; +}; |
