Skip to content
Commit 2c1f4f12 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: re-order the code to not parse unnecessary variables



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, and parse variables
for building only when necessary.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent ba634ece
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment