mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-07 23:14:21 +00:00
KBUILD_SRC was conventionally used for some different purposes: [1] To remember the source tree path [2] As a flag to check if sub-make is already done [3] As a flag to check if Kbuild runs out of tree For [1], we do not need to remember it because the top Makefile can compute it by $(realpath $(dir $(lastword $(MAKEFILE_LIST)))) [2] has been replaced with self-commenting 'sub_make_done'. For [3], we can distinguish in-tree/out-of-tree by comparing $(srctree) and '.' This commit converts [3] to prepare for the KBUILD_SRC removal. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> |
||
---|---|---|
.. | ||
.gitignore | ||
__init__.py | ||
constants.py.in | ||
cpus.py | ||
dmesg.py | ||
lists.py | ||
Makefile | ||
modules.py | ||
proc.py | ||
symbols.py | ||
tasks.py | ||
utils.py |