kbuild: show warning if 'make headers_check' is used
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 2 Mar 2021 14:26:14 +0000 (23:26 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 24 Apr 2021 20:11:54 +0000 (05:11 +0900)
commit609bbb4de4f85b7ef45d81a88e6b7dfe3bf5ccea
treee58a4beedbfeed15216712cfb7d9c761453aebc1
parent805b2e1d427aab4bb27fa7c51ebb9db7547551b1
kbuild: show warning if 'make headers_check' is used

Since commit 7ecaf069da52 ("kbuild: move headers_check rule to
usr/include/Makefile"), 'make headers_check' is no-op.

This stub target is remaining here in case some scripts still invoke it.
In order to prompt people to remove stale code, show a noisy warning
message if used. The stub will be really removed after the Linux 5.15
release.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile