我们在编译Linux内核时,往往在Linux内核的顶层目录会执行一些命令,这里我以RK3288举例,比如:make firefly-rk3288-linux_defconfig、make menuconfig、make firefly-rk3288.img、make zImage等等。先不管这具体的含义,首先提出几个疑问 (1)Linux内核如此庞大(几万个文件),目录 ...
编译Linux,通常只需要运行make menuconfig配置要编译的模块,然后运行make。Linux默认是做本地编译,也就是编译位本机使用的内核。 在嵌入式开发中,经常需要交叉编译,要做交叉编译的话,需要在make命令后加上宏定义,如交叉编译为arm目标: 当然也可以直接 ...
If there is either a .config in /usr/src/linux/ or a config file in /boot/, it seems as though some kernel options are omitted from menuconfig. One of the most obvious examples is in "Processor type ...
Configuration is the first step in building a kernel. There are many ways and various options to choose from. The kernel will generate a .config file at the end of the process and generate a series of ...