[Buildroot] Stripping kernel modules for ARC
Alexey Brodkin
Alexey.Brodkin at synopsys.com
Thu Sep 15 10:53:37 UTC 2016
Hi all,
On Thu, 2016-09-15 at 10:08 +0200, Peter Korsgaard wrote:
> >
> > >
> > > >
> > > > >
> > > > > >
> > > > > > "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
>
> > Hello,
> > On Thu, 15 Sep 2016 09:18:58 +0200, Peter Korsgaard wrote:
>
> >> Sounds good. When was this introduced and what about external kernel modules?
>
> > Introduced in commit ac031f26e89cc04fc7504f31ae137857eb83a051, appeared
> > first in 2.6.18.
>
> Ok, good!
>
> > External kernel modules: the one using kbuild will do fine, as long as
> > we use the modules_install target of the kbuild build system and not
> > manually install/copy the .ko files.
>
> > External kernel modules not using kbuild would obviously no longer be
> > stripped. Not sure how many of these we have today, and how to handle
> > them. They could be problematic :-/
>
> I guess we'll just have to handle those explictly whenever we find them.
Let me cook up a patch which uses INSTALL_MOD_STRIP=1 then.
-Alexey
More information about the buildroot
mailing list