summaryrefslogtreecommitdiff
path: root/Makefile.mk
diff options
context:
space:
mode:
authorRonald G Minnich <rminnich@gmail.com>2024-03-27 16:39:21 -0700
committerron minnich <rminnich@gmail.com>2024-04-01 15:00:22 +0000
commit778f7c8055c746b6fe83218be0544095d6040fb7 (patch)
tree2ffd4eaa0736fb38d5973b533f7286dfff8790e6 /Makefile.mk
parentc5e467e50ceadeccf7beb8dcf7ba1e4df0dda7ae (diff)
Makefile.mk: make the overlapped error message more informative
Currently, if something is overlapped, you get this: ERROR: Ramstage region _ramstage overlapped by: fallback/payload fallback/opensbi This change prints out the start and end of the sections. Change-Id: Ica8c05b63ed9bbd28e2d3daa4dc7c2f9d8da3f55 Signed-off-by: Ronald G Minnich <rminnich@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81544 Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'Makefile.mk')
-rw-r--r--Makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.mk b/Makefile.mk
index bfdb7e3348..3f39a6edee 100644
--- a/Makefile.mk
+++ b/Makefile.mk
@@ -1388,7 +1388,7 @@ $(call add_intermediate, check-ramstage-overlaps)
if [ -z $$rstart ]; then rstart=$$(($$y)) ; continue ; fi ; \
rend=$$(($$y)) ; \
if [ $$pstart -lt $$rend -a $$rstart -lt $$pend ]; then \
- echo "ERROR: Ramstage region _$$rname overlapped by:" \
+ echo "ERROR: Ramstage region _$$rname@($$rstart,$$rend) overlapped by($$pstart,$$pend):" \
$(check-ramstage-overlap-files) ; \
exit 1 ; \
fi ; \