[Buildroot] musl with kernel headers (was: [PATCH] bridge-utils: fix build with musl)

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Nov 4 08:16:39 UTC 2016


Hello,

On Fri, 4 Nov 2016 07:22:44 +0200, Baruch Siach wrote:

> > Yes, we probably need to do something like that. I'm sick of all the
> > patches we need to fix this structure redefinition mess, so if we have
> > a global solution, it would be nice. I guess it needs to be applied in
> > both the linux-headers package and the toolchain-external package.  
> 
> I was thinking if a sed call in TOOLCHAIN_TARGET_FINALIZE_HOOKS to simplify 
> the hack. Would that work?

No, because FINALIZE_HOOKS, like their name suggests, are called at the
very end of the build, after all packages have been built, and right
before we create the filesystem images.

So to fix something that helps in building packages, it's a little bit
too late :-)

However, you could have it as post-install staging hook of the
toolchain virtual package I guess.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list