I'm looking through the Linux kernel code to try and understand how the image is built.
In the scripts/makefile.build
Makefile, there are some lines that look like this:
$(real-objs-m) : part-of-module :=y
$(real-objs-m) : quiet_modtag := [M]
$(multi-objs-m) : modname=$(modname-multi)
They don't look like target-and-prerequisites lines nor static pattern rules. I've been already googled a lot, but nothing seems an answer. What do these syntaxes mean?
This is target-specific variable values.
From the documentation https://www.gnu.org/software/make/manual/html_node/Target_002dspecific.html