diff options
| author | Masahiro Yamada <[email protected]> | 2022-12-11 02:54:47 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2022-12-13 13:29:10 +0000 |
| commit | 6768fa4bcb6c1618248f135d04b9287ba2724ae0 (patch) | |
| tree | 0d49fcbba647b32e81d9da19192092dce67485e4 /scripts/clang-tools/gen_compile_commands.py | |
| parent | kbuild: do not sort after reading modules.order (diff) | |
| download | kernel-6768fa4bcb6c1618248f135d04b9287ba2724ae0.tar.gz kernel-6768fa4bcb6c1618248f135d04b9287ba2724ae0.zip | |
kbuild: add read-file macro
Since GNU Make 4.2, $(file ...) supports the read operater '<', which
is useful to read a file without forking a new process. No warning is
shown even if the input file is missing.
For older Make versions, it falls back to the cat command.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Nicolas Schier <[email protected]>
Reviewed-by: Alexander Lobakin <[email protected]>
Tested-by: Alexander Lobakin <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
