Kmax now extracts top-level architecture-specific directories.
Previously, all top-level directories were assumed to be always
included, but some architcture-specific directories, e.g., with
core-y, are configurable. So this version also collects
subdirectories from these other Kbuild variables and adds them to the
Kmax formulas.