summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-10-04 06:56:06 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-10-10 04:01:29 +0300
commit2c1f4f125159f10521944cea23e33a00fcf85ede (patch)
tree7c44205044aadfadfce3150feac9b048e8a45703 /samples
parentba634eceb535d95e87ef09caae7814b3687c6036 (diff)
downloadlinux-2c1f4f125159f10521944cea23e33a00fcf85ede.tar.xz
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: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions