At the project level, there's a file called common.mk. This file contains any special flags and settings that need to be in effect in order to compile and link.
At the bottommost level (the variant level), the format of the makefile is different—it doesn't include recurse.mk, but instead includes common.mk (from the project level).