Re: [PATCH] builddeb: Skip gcc-plugins when not configured

From: Michal Marek
Date: Tue Aug 16 2016 - 04:35:00 EST


Dne 15.8.2016 v 19:36 Kees Cook napsal(a):
> When attempting to build a Debian kernel package, the "scripts/gcc-plugins"
> directory does not exist in the output tree unless CONFIG_GCC_PLUGINS=y.
> To avoid errors when not defined, this wraps the failing "find" in a config
> test.
>
> Reported-by: Frank Paulsen <frobnic+lkml@xxxxxxxxx>
> Tested-by: Christian Kujau <lists@xxxxxxxxxxxxxxx>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> ---
> This should go into v4.8...

Applied to kbuild.git#rc-fixes.

Thanks,
Michal