[lkml]   [2019]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/2] kbuild: simplify GCC plugin build rules
On Fri, Jan 11, 2019 at 1:19 AM Masahiro Yamada
<> wrote:
> GCC-plugin is the only user of the shared library build rules in
> scripts/ Hence, those rules do not need to be treewide
> available.
> The build rules in scripts/ are written in a too generic
> way. I guess the main reason is because commit 24403874316a ("Shared
> library support") revived the code ripped off by commit 62e2210798ed
> ("kbuild: drop shared library support from").
> Currently, every plugin is built from a single C file. So, all we need
> is a pattern rule to create from %.c.

What'll it look like if we get a multi-file plugin in the future?
There are existing out-of-tree plugins that this change may make
porting more difficult...

Kees Cook

 \ /
  Last update: 2019-01-11 18:20    [W:0.047 / U:10.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site