Elazar Leibovich
Elazar Leibovich

Reputation: 33583

Make buildroot use prebuild binaries

Is it possible to cause buildroot to use a prebuild binary for packages?

For example, if, for a certain version, it determines a binary package exists, it would simply download it and would not recompile the package, even on a clean build?

Upvotes: 1

Views: 1189

Answers (1)

Peter Korsgaard
Peter Korsgaard

Reputation: 696

No, this is not directly possible in Buildroot. There are a lot of other details that you need to take into consideration besides just the version number to know if a prebuilt binary would be compatible (E.G. architecture/variant/fpu settings/toolchain/what patches are applied/optional dependencies and so on), but for a very specific setup you might get away with creating a tarball of output/build/-version and extracting this before building.

But beware, as explained above it is quite fragile.

Upvotes: 3

Related Questions