Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33198 )
Change subject: Makefile.inc: Add a class 'all' to link files in all stage ......................................................................
Patch Set 8:
Patch Set 8: The order in `$(includemakefiles)` is unfortunate atm. If we could move the special-class handling one line up, before the `-srcs +=`, something lean like this could do the job:
$(call add-special-class,all) all-handler = $(foreach class,bootblock verstage...,$(class)-y += $(2))
Given the few special classes we have so far, I think changing the order should be safe. Patrick, what do you think?
Yes, sounds good. I wonder if we should enumerate the classes manually in the all-handler or use $(filter-out) to just paste stuff into everything but special classes?