i.MX6ULL Terminator Buildoot file system build articles buildroot adds support for third-party software

Article Directory
1 Enabling Alsa-lib
2 Enabling Alsa-utils

The buildroot we configured in the previous section is only a version for simple running tests. When we use the development board to run our own programs, we may need the file system to provide some third-party library files And software, such as alsa-lib, alsa-utils, mplayer, opencv, etc. We can enable these software and libraries through the buildroot configuration. Most of them are in the "Target packages" option of the configuration interface.
1 To enable Alsa-lib,
first configure it through the command "make menuconfig". After opening the configuration interface, scroll down with the arrow keys to find "Target packages" and press Enter to enter. As shown in Figure 1.1:

Then scroll down with the arrow keys to find the "Libraries" option and press Enter to enter. As shown in Figure 1.2:

Then find "Audio/Sound" and press Enter to enter. As shown in Figure 1.3:

Then find "alsa-lib", select the space and press Enter to enter. As shown in Figure 1.4:

Then select all the spaces on this page, as shown in Figure 1.5:

Finally save and exit.

2 Enable Alsa-utils

First configure through the command "make menuconfig". After opening the configuration interface, scroll down to find "Target packages" and press Enter to enter. As shown in Figure 2.1:

 

Then use the arrow keys to scroll down to find "Audio and video applications", press Enter to enter. As shown in Figure 2.2:

 

Then find "alsa-utils", select the space, and press Enter to enter.

 

Finally, select all software spaces on the page, as shown in Figure 2.4:

 

Finally save and exit.
Then we use the command "make" to compile buildroot, during which he will download some software source code by himself, please ensure that the network is available. As shown in Figure 2.5:

 

Wait for the compilation to be completed, so that these libraries and software can be used directly in the development board system. Other required software environment users can configure as appropriate. Of course, the source code of these libraries and software are also downloaded from the Internet during the compilation process, so ensure that the network status of the virtual machine can be connected to the Internet.

Guess you like

Origin blog.csdn.net/mucheni/article/details/113373802