编译busybox的笔记
for 平台: imx6dl sarasb busybox 版本 : 1.26.2 交叉编译步骤: 按照 nxp community 的步骤, https://community.nxp.com/docs/DOC-95046 , 下载解压后, 先 source poky 工具链环境变量, 然后 make defconfig 接着把 .config 里面的 CONFIG_STATIC=y , 进行静态链接. 然后 make 编译过程会有错误, 我是直接修改 Makefile 来解决问题, 1 / 将 CC 添加内容: CC = $( CROSS_COMPILE )gcc -mfloat-abi=hard -L/opt/fsl-imx-x11/4.1.15-1.2.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib CFLAGS := $( CFLAGS ) -D__ARM_PCS_VFP -I/opt/fsl-imx-x11/4.1.15-1.2.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include -L/home/zoe/fsl-release-bsp/build_dl_upt/tmp/sysroots/imx6dlsabresd/usr/lib -