diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-11-07 16:14:40 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-05 16:43:47 +0100 |
commit | ef134d8b493c537b81e8cbd56704efff0b402d8a (patch) | |
tree | 3f51dfe456b70d00b84914eee4904d9e10197ba1 /Makefile | |
parent | 20e559d8f74538269a0f47df814656c150fca858 (diff) | |
download | linux-stable-ef134d8b493c537b81e8cbd56704efff0b402d8a.tar.gz linux-stable-ef134d8b493c537b81e8cbd56704efff0b402d8a.tar.bz2 linux-stable-ef134d8b493c537b81e8cbd56704efff0b402d8a.zip |
kbuild: remove header compile test
commit fcbb8461fd2376ba3782b5b8bd440c929b8e4980 upstream.
There are both positive and negative options about this feature.
At first, I thought it was a good idea, but actually Linus stated a
negative opinion (https://lkml.org/lkml/2019/9/29/227). I admit it
is ugly and annoying.
The baseline I'd like to keep is the compile-test of uapi headers.
(Otherwise, kernel developers have no way to ensure the correctness
of the exported headers.)
I will maintain a small build rule in usr/include/Makefile.
Remove the other header test functionality.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
[ added to 5.4.y due to start of build warnings from backported patches
because of this feature - gregkh]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -618,7 +618,6 @@ ifeq ($(KBUILD_EXTMOD),) init-y := init/ drivers-y := drivers/ sound/ drivers-$(CONFIG_SAMPLES) += samples/ -drivers-$(CONFIG_KERNEL_HEADER_TEST) += include/ net-y := net/ libs-y := lib/ core-y := usr/ |