2017-10-04 12:56 GMT+09:00 Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>: > The top Makefile is divided into some sections such as mixed targets, > config targets, build targets, etc. > > When we build mixed targets, Kbuild just invokes submake to process > them one by one. In this case, compiler-related variables like CC, > KBUILD_CFLAGS, etc. are unneeded. > > Check what kind of targets we are building first, then parse necessary > variables for building them. > > Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> > --- > > Makefile | 233 ++++++++++++++++++++++++++++++++------------------------------- > 1 file changed, 118 insertions(+), 115 deletions(-) Applied to linux-kbuild/kbuild. Thanks. -- Best Regards Masahiro Yamada -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html