diff options
| author | Tom Rini <[email protected]> | 2026-01-15 16:19:31 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-01-20 10:19:24 -0600 |
| commit | 90efb8d394de9df1ae2c20f5e25ffc2009dc7ec5 (patch) | |
| tree | 5a7f199e1dab23ce59e4414fa7a314215dbf93b5 /Makefile | |
| parent | 5665d1f4e7cfd6895417d199dd7db73500c5d36c (diff) | |
Makefile: Have binary_size_check report only first match of _image_binary_end
If we have ASSERT macros that validate the position of
_image_binary_end, our awk expression will report a string that causes
the rest of our check to fail with garbage values. Have it exit after
the first match to fix this.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1583,7 +1583,7 @@ binary_size_check: u-boot-nodtb.bin FORCE map_size=$(shell cat u-boot.map | \ awk ' \ /_image_copy_start/ { start = $$1 } \ - /_image_binary_end/ { end = $$1 } \ + /_image_binary_end/ { end = $$1;exit } \ END { \ if (start != "" && end != "") \ print end " " start; \ |
