[coreboot-gerrit] Change in coreboot[master]: Define BL31_SOURCE in Makefile.inc and include it for headers

Julius Werner (Code Review) gerrit at coreboot.org
Wed Apr 5 20:23:38 CEST 2017


Julius Werner has posted comments on this change. ( https://review.coreboot.org/19136 )

Change subject: Define BL31_SOURCE in Makefile.inc and include it for headers
......................................................................


Patch Set 1: Code-Review-1

BL31_SOURCE was really just meant as a shorthand to save space, not as something you're explicitly allowed to override. I won't guarantee that there aren't other places this would break.

If you really think we need such a functionality (we never had a reason yet, and coreboot doesn't allow that for vboot either, after all), it should probably be changed to a Kconfig option. It should still be very explicit from the #include line that a given header is an ARM TF header. If it's just "plat/vendor/file.h" it is very confusing where it comes from. (But really, I'd rather we don't add something like this at all and treat ARM TF just like all the other submodules. You can always check it out to a different HEAD if you want, or even delete the whole directory and copy or symlink something else in there.)

-- 
To view, visit https://review.coreboot.org/19136
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I148fa21a77cbb21f2b3b434e3d047a4577c991bb
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Paul Kocialkowski <contact at paulk.fr>
Gerrit-Reviewer: Julius Werner <jwerner at chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth at google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter at users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins)
Gerrit-HasComments: No



More information about the coreboot-gerrit mailing list