Buildroot

Notes ./lanuch 最终的操作是 cd sdk_3921/buildroot-dist # 进入buildroot目录 make BR2_EXTERNAL=sdk_3921/platform/ O=sdk3921/out/rts3923_fpga/ rts3923_fpga_defconfig local.mk # BR2_PACKAGE_OVERRIDE_FILE 在platform/configs中定义 external.mk include common.mk include package/*/*/*.mk include package/*/*.mk include package/*/*/src.mki include package/*/*/gen.mki include post_pkg.mk platform/local.mk: 指定自定义源码位置 在local.mk中还定义了: make rr: Reconstruct rootfs make rp: Rebuild external packages Managing the build and the configuration Out of tree build 在buildroot Makefile中有 ifeq ($(O),$(CURDIR)/output) CONFIG_DIR := $(CURDIR) NEED_WRAPPER = else CONFIG_DIR := $(O) NEED_WRAPPER = y endif 可以看出,如果O != buildroot_dist/output, CONFIG_DIR = sdk3921/out/rts3923_fpga/ 在CONFIG_DIR目录下,保存着....

2023-04-13 · 3 min