Select the desired ARC architecture. This simple step provides Buildroot enough information to get a working root file system with basic Linux command line tools (such as ls, cat, and vi) installed.
Since Buildroot automatically resolves the dependencies, it knows that it needs to build a cross compiler, the C library for ARC little-endian and busybox, which is the package containing the basic Linux command line tools.
To get your embedded Linux root file system you simply need to save the configuration, exit from the menuconfig interface and start the build process with the following command:
The build takes a few minutes to complete, after which you will have a new directory called output with the following contents:
- The build takes place here and includes unpacked and patched source files
- The host dependencies are installed here
- The file system image(s) are installed here
- The header files and libraries required for building ARC packages are installed here
- This is used for administration purposes to keep track of which tasks are completed
- This is where the target file system and build results for ARC are installed.
- The cross compiler and libraries, including intermediate steps are installed here
Note that while target does contain all the build results (i.e. packages compiled for ARC), it is not your final root file system because a real root file system also includes device nodes. Device nodes can only be generated by the super user (i.e. root). In the images directory, you will find a packaged version of your actual root file system, with device nodes.