Re: [PATCH] kbuild/builddeb: Fix !CONFIG_GCC_PLUGINS build

From: Michal Marek
Date: Mon Sep 05 2016 - 02:38:31 EST


Dne 3.9.2016 v 21:58 Borislav Petkov napsal(a):
> From: Borislav Petkov <bp@xxxxxxx>
>
> When building a bindeb-pkg target into an object output dir, i.e., O=, I
> get:
>
> find: `scripts/gcc-plugins': No such file or directory
> /mnt/kernel/kernel/linux-2.6/scripts/package/Makefile:97: recipe for target 'bindeb-pkg' failed
> make[3]: *** [bindeb-pkg] Error 1
> /mnt/kernel/kernel/linux-2.6/Makefile:1310: recipe for target 'bindeb-pkg' failed
> ...
>
> Check whether CONFIG_GCC_PLUGINS is enabled before collecting .so plugin
> names.

A fix has already been submitted by Kees Cook. I took your patch as a
reminder to submit my rc-fixes branch to Linus :).

Thanks,
Michal