0

Is it possible to generate multiple cross compilers with Buildroot? Without needing to transfer generated files to elsewhere before creating new cross compilers for totally different architecture?

Katve
  • 328
  • 2
  • 9

1 Answers1

1

You can use out-of-tree compilation:

make O=foo foo_defconfig
make O=bar bar_defconfig
cd foo; make menuconfig; make toolchain; cd .. # builds in foo/* instead of output/*
cd bar; make menuconfig; make toolchain; cd .. # Can run in parallel

See section 8.5. Building out-of-tree in the manual for more info.

Luca Ceresoli
  • 1,591
  • 8
  • 19