进入buildroot的根目录下,执行
make menuconfig
主菜单如下:
1、Target options
Target options
-> Target Architecture = ARM (little endian) //目标板架构
-> Target Binary Format = ELF //可执行文件格式
-> Target Architecture Variant = cortex-A7 //cpu细分架构
-> Target ABI = EABIhf
-> Floating point strategy = NEON/VFPv //浮点计算策略
2、Toolchain
Toolchain
-> Toolchain type = External toolchain //使用buildroot外的编译工具
-> Toolchain = Custom toolchain //用户自己的交叉编译工具
-> Toolchain origin = Pre-installed toolchain //预装的编译器
-> Toolchain path =/usr/local/arm/gcc-linaro-4.//存放价差编译工具的路径
-> Toolchain prefix = $(ARCH)-linux-gnueabihf //交叉编译工具名字前缀
-> External toolchain gcc version = 4.9.x //GCC版本
-> External toolchain kernel headers series = 4.1.x //内核版本
-> External toolchain C library = glibc/eglibc //C库版本
-> [*] Toolchain has SSP support? (NEW) //选中
-> [*] Toolchain has RPC support? (NEW) //选中
-> [*] Toolchain has C++ support? //选中
-> [*] Enable MMU support (NEW) //选中
3、配置 System configuration
System configuration
-> System hostname = alpha_imx6ull //平台名字,自行设置
-> System banner = Welcome to ssj—board //欢迎语
-> Init system = BusyBox //使用 busybox
-> /dev management = Dynamic using devt
4、配置Filesystem images
-> Filesystem images
-> [*] ext2/3/4 root filesystem //如果是 EMMC 或 SD 卡的话就用 ext3/ext4
-> ext2/3/4 variant = ext4 //选择 ext4 格式
-> [*] ubi image containing an ubifs root filesystem //如果使用 NAND 的话就用 ub