Reputation: 133
I have several very similar configurations which I need to build with buildroot. But this means I need to rebuild most of same packages several times?
For example I do build x86 image bootable image. For that I have one configuration for initramfs and second configuration for nearly same main rootfs.
Or other example, my bootable image which I do with buildroot uses Grub but also I want to generate mostly same image but IsoLinux. Is it ever possible to avoid build procedure duplication? How to do?
Upvotes: 2
Views: 1016
Reputation: 490
Unfortunately, even one package changes cause the configuration to change! What I suggest is to use two configurations, both with the ccache enabled and to build out-of-tree to prevent the overwrite. Check both here and here!
With this solution, I managed to build a similar configuration in a safe and fast way!
Upvotes: 1