I have set the BR2_JLEVEL to 2 ; Not sure how this option works in buildroot ? can somebody give details on how it works in buildroot as I am not seeing improvements in my build timing.
Buildroot is a tool that simplifies and automates the process of building a complete Linux system for an embedded system, using cross-compilation. In order to achieve this, Buildroot is able to generate a cross-compilation toolchain, a root filesystem, a Linux kernel image and a bootloader for your target.
Buildroot is a set of Makefiles and patches that simplifies and automates the process of building a complete and bootable Linux environment for an embedded system, while using cross-compilation to allow building for multiple target platforms on a single Linux-based development system.
BR2_JLEVEL is equivalent to running 'Make' with the option -j.
The man-page for 'make' states
-j [jobs], --jobs[=jobs]
Specifies the number of jobs (commands) to run simultaneously. If there is more than one -j option, the last one is effective. If the -j option is given without an argument, make will not limit the number of jobs that can run simultaneously.
So running with BR2_JLEVEL=2 will start two compile processes at the same time, and thus speedup compile time, especially if you have more than one CPU.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With