Re: [PATCH v3] kbuild: use -fmacro-prefix-map to make __FILE__ a relative path

2018-04-05 Thread Masahiro Yamada
2018-03-30 13:15 GMT+09:00 Masahiro Yamada : > The __FILE__ macro is used everywhere in the kernel to locate the file > printing the log message, such as WARN_ON(), etc. If the kernel is > built out of tree, this can be a long absolute path, like this: > >

Re: [PATCH v3] kbuild: use -fmacro-prefix-map to make __FILE__ a relative path

2018-04-05 Thread Masahiro Yamada
2018-03-30 13:15 GMT+09:00 Masahiro Yamada : > The __FILE__ macro is used everywhere in the kernel to locate the file > printing the log message, such as WARN_ON(), etc. If the kernel is > built out of tree, this can be a long absolute path, like this: > > WARNING: CPU: 1 PID: 1 at >

[PATCH v3] kbuild: use -fmacro-prefix-map to make __FILE__ a relative path

2018-03-29 Thread Masahiro Yamada
The __FILE__ macro is used everywhere in the kernel to locate the file printing the log message, such as WARN_ON(), etc. If the kernel is built out of tree, this can be a long absolute path, like this: WARNING: CPU: 1 PID: 1 at /path/to/build/directory/arch/arm64/kernel/foo.c:... This is

[PATCH v3] kbuild: use -fmacro-prefix-map to make __FILE__ a relative path

2018-03-29 Thread Masahiro Yamada
The __FILE__ macro is used everywhere in the kernel to locate the file printing the log message, such as WARN_ON(), etc. If the kernel is built out of tree, this can be a long absolute path, like this: WARNING: CPU: 1 PID: 1 at /path/to/build/directory/arch/arm64/kernel/foo.c:... This is