2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-02-27 02:53:25 +09:00
|
|
|
|
|
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
2019-06-04 09:26:27 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-10-30 08:40:45 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-12-07 10:52:59 +01:00
|
|
|
|
2021-12-07 10:53:00 +01:00
|
|
|
|
2020-02-15 23:26:06 -08:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-02-10 10:26:53 +09:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
2024-04-06 11:04:16 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-12-23 01:25:33 +09:00
|
|
|
|
2020-10-27 11:56:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-07-16 19:08:06 -03:00
|
|
|
|
2019-05-31 10:02:11 -06:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-30 10:45:58 -03:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
2019-03-30 10:45:58 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-07-18 10:15:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-03-04 10:21:39 +01:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
2020-03-04 10:21:39 +01:00
|
|
|
|
kbuild: use $(src) instead of $(srctree)/$(src) for source directory
Kbuild conventionally uses $(obj)/ for generated files, and $(src)/ for
checked-in source files. It is merely a convention without any functional
difference. In fact, $(obj) and $(src) are exactly the same, as defined
in scripts/Makefile.build:
src := $(obj)
When the kernel is built in a separate output directory, $(src) does
not accurately reflect the source directory location. While Kbuild
resolves this discrepancy by specifying VPATH=$(srctree) to search for
source files, it does not cover all cases. For example, when adding a
header search path for local headers, -I$(srctree)/$(src) is typically
passed to the compiler.
This introduces inconsistency between upstream and downstream Makefiles
because $(src) is used instead of $(srctree)/$(src) for the latter.
To address this inconsistency, this commit changes the semantics of
$(src) so that it always points to the directory in the source tree.
Going forward, the variables used in Makefiles will have the following
meanings:
$(obj) - directory in the object tree
$(src) - directory in the source tree (changed by this commit)
$(objtree) - the top of the kernel object tree
$(srctree) - the top of the kernel source tree
Consequently, $(srctree)/$(src) in upstream Makefiles need to be replaced
with $(src).
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
2024-04-27 23:55:02 +09:00
|
|
|
|
2020-03-04 10:21:39 +01:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
2020-03-04 10:21:39 +01:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
kbuild: use $(src) instead of $(srctree)/$(src) for source directory
Kbuild conventionally uses $(obj)/ for generated files, and $(src)/ for
checked-in source files. It is merely a convention without any functional
difference. In fact, $(obj) and $(src) are exactly the same, as defined
in scripts/Makefile.build:
src := $(obj)
When the kernel is built in a separate output directory, $(src) does
not accurately reflect the source directory location. While Kbuild
resolves this discrepancy by specifying VPATH=$(srctree) to search for
source files, it does not cover all cases. For example, when adding a
header search path for local headers, -I$(srctree)/$(src) is typically
passed to the compiler.
This introduces inconsistency between upstream and downstream Makefiles
because $(src) is used instead of $(srctree)/$(src) for the latter.
To address this inconsistency, this commit changes the semantics of
$(src) so that it always points to the directory in the source tree.
Going forward, the variables used in Makefiles will have the following
meanings:
$(obj) - directory in the object tree
$(src) - directory in the source tree (changed by this commit)
$(objtree) - the top of the kernel object tree
$(srctree) - the top of the kernel source tree
Consequently, $(srctree)/$(src) in upstream Makefiles need to be replaced
with $(src).
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
2024-04-27 23:55:02 +09:00
|
|
|
|
2021-02-01 10:00:24 +09:00
|
|
|
|
2021-06-17 15:58:08 -07:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
kbuild: use $(src) instead of $(srctree)/$(src) for source directory
Kbuild conventionally uses $(obj)/ for generated files, and $(src)/ for
checked-in source files. It is merely a convention without any functional
difference. In fact, $(obj) and $(src) are exactly the same, as defined
in scripts/Makefile.build:
src := $(obj)
When the kernel is built in a separate output directory, $(src) does
not accurately reflect the source directory location. While Kbuild
resolves this discrepancy by specifying VPATH=$(srctree) to search for
source files, it does not cover all cases. For example, when adding a
header search path for local headers, -I$(srctree)/$(src) is typically
passed to the compiler.
This introduces inconsistency between upstream and downstream Makefiles
because $(src) is used instead of $(srctree)/$(src) for the latter.
To address this inconsistency, this commit changes the semantics of
$(src) so that it always points to the directory in the source tree.
Going forward, the variables used in Makefiles will have the following
meanings:
$(obj) - directory in the object tree
$(src) - directory in the source tree (changed by this commit)
$(objtree) - the top of the kernel object tree
$(srctree) - the top of the kernel source tree
Consequently, $(srctree)/$(src) in upstream Makefiles need to be replaced
with $(src).
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
2024-04-27 23:55:02 +09:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
kbuild: use $(src) instead of $(srctree)/$(src) for source directory
Kbuild conventionally uses $(obj)/ for generated files, and $(src)/ for
checked-in source files. It is merely a convention without any functional
difference. In fact, $(obj) and $(src) are exactly the same, as defined
in scripts/Makefile.build:
src := $(obj)
When the kernel is built in a separate output directory, $(src) does
not accurately reflect the source directory location. While Kbuild
resolves this discrepancy by specifying VPATH=$(srctree) to search for
source files, it does not cover all cases. For example, when adding a
header search path for local headers, -I$(srctree)/$(src) is typically
passed to the compiler.
This introduces inconsistency between upstream and downstream Makefiles
because $(src) is used instead of $(srctree)/$(src) for the latter.
To address this inconsistency, this commit changes the semantics of
$(src) so that it always points to the directory in the source tree.
Going forward, the variables used in Makefiles will have the following
meanings:
$(obj) - directory in the object tree
$(src) - directory in the source tree (changed by this commit)
$(objtree) - the top of the kernel object tree
$(srctree) - the top of the kernel source tree
Consequently, $(srctree)/$(src) in upstream Makefiles need to be replaced
with $(src).
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
2024-04-27 23:55:02 +09:00
|
|
|
|
2021-12-07 10:53:00 +01:00
|
|
|
|
|
|
|
|
|
2021-12-11 09:56:59 +01:00
|
|
|
|
2021-12-07 10:53:00 +01:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
2023-11-21 03:48:31 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-08 14:56:14 +01:00
|
|
|
|
2023-11-21 03:48:31 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-12-15 09:37:16 +00:00
|
|
|
|
2023-11-21 03:48:31 -08:00
|
|
|
|
2023-12-15 09:37:16 +00:00
|
|
|
|
|
|
|
|
|
2023-11-21 03:48:31 -08:00
|
|
|
|
2024-03-05 13:23:00 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-04 07:55:49 -06:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
2023-07-18 10:15:34 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-16 14:02:09 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-04 07:55:49 -06:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-06 11:04:16 +09:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
2019-06-04 07:55:49 -06:00
|
|
|
|
2020-04-14 18:48:53 +02:00
|
|
|
|
2024-04-06 11:04:16 +09:00
|
|
|
|
2020-04-14 18:48:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-04 07:55:49 -06:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-04 07:55:49 -06:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-09 18:26:15 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
2024-02-08 15:50:01 +01:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
2020-03-04 10:21:39 +01:00
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-16 14:02:09 -05:00
|
|
|
|
|
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-10-25 13:52:32 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-14 11:50:01 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-02 17:44:18 -06:00
|
|
|
|
2021-12-11 09:57:00 +01:00
|
|
|
|
2021-12-07 10:52:59 +01:00
|
|
|
|
2021-12-11 09:57:00 +01:00
|
|
|
|
2021-12-07 10:53:00 +01:00
|
|
|
|
2017-10-02 17:44:18 -06:00
|
|
|
|