[Buildroot] Buildroot multi-arch build
Peter Korsgaard
peter at korsgaard.com
Sun May 5 19:07:02 UTC 2019
>>>>> "Alexander" == Alexander Dahl <post at lespocky.de> writes:
> Hei hei,
> On Fri, May 03, 2019 at 08:21:41PM +0000, Gervais, Francois wrote:
>> We use the same buildroot environment for x86_64, armhf and arm64.
>>
>> For each architecture, everything is the same except for the architecture definition.
> What you won't be able to avoid is building everything three times.
> Those architectures all need different toolchains. You probably
> already know this? ;-)
>> Is there a way to achieve this without maintaining 3 config files?
> Maybe you can somehow work with some kind of config template you
> maintain, and generate those three buildroot configs from it?
This can simply be done with "cat", E.G. have a config snippet for each
of the 3 architectures and one for the package selection, and then
simply concatenate 1 arch + packages to a defconfig file.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list