We have some software in the base system that includes more than one file with the same name (in different directories). In some cases we wish to build these into a single library or program, which does not work with our current build infrastructure.
This change allows the Makefile to set EXTRA_OBJDIRS to a list of subdirectories, and those paths can be included in SRCS.
EXTRA_OBJDIRS=foo bar SRCS=foo/file1.c \ bar/file1.c
Putting in review for comments for now.