]> git.baikalelectronics.ru Git - kernel.git/commit
gcc-plugins: remove always-false $(if ...) in Makefile
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 10 May 2020 02:00:44 +0000 (11:00 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 25 May 2020 15:03:16 +0000 (00:03 +0900)
commita34c39a6e88aa031daf0be955a71c0a2606735e3
treef3cf07368d666230ad6f3e3460bfc615e08a13d5
parenta10909c53445ea32bdca9cf5b36701d5d3f3826f
gcc-plugins: remove always-false $(if ...) in Makefile

This is the remnant of commit 2cb37fb69791 ("gcc-plugins: remove unused
GCC_PLUGIN_SUBDIR").

The conditional $(if $(findstring /,$(p)),...) is always false because
none of plugins contains '/' in the file name.

Clean up the code.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
scripts/gcc-plugins/Makefile