Kbuild composite objects only supports one level of composite objects. That is, a composite object may only be composed of real compilable source files. As a simple example, the following Kbuild description is now supported: bar-a-y := a/bar0.o a/bar1.o bar-b-y := b/bar2.o b/bar3.o foo-objs := bar-a.o bar-b.o obj-m += foo.o Add such support by recursively searching for composite objects and listing them in $(multi-used-*) and $(real-obj-*). Signed-off-by: Elliot Berman <eberman@codeaurora.org> Bug: 175420575 Change-Id: I08880422bc462c38b80f1a8bd85498250898c85e Link: https://lore.kernel.org/linux-kbuild/1611343638-28206-3-git-send-email-eberman@codeaurora.org/ [eberman@codeaurora.org: Fix compile error so that multi-search does not recurse when foo-y contains foo.o] Signed-off-by: Elliot Berman <eberman@codeaurora.org>
18 KiB
18 KiB