Re: [PATCH v5 2/5] GCC plugin infrastructure
From: Emese Revfy
Date: Wed Mar 16 2016 - 17:08:18 EST
On Wed, 16 Mar 2016 16:41:36 +0900
Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> wrote:
> > The scripts name also doesn't describe gcc plugins well.
>
> With my suggestion "scripts/gcc-plugins/",
> the sub-directory name describes it very well.
>
>
> > Plugins take part in the image building process
> > in a different way than these tools and scripts do.
> > Since there doesn't seen to be a good place for compiler plugins, maybe we should create a new toplevel directory
> > called "build". Compiler plugins and other existing build tools could live there. What do you think?
>
> In my understanding, they are plug-in'ed into the cross-compiler that
> compiles vmlinux.
>
> If so, GCC plugins should be happy in "scripts/"
> because Kbuild descends into "scripts/" before building any objects for vmlinux.
Ok, I'll move them under scripts/ in the next patch set.
--
Emese