extra-y += $(dtb-y) extra-$(CONFIG_OF_ALL_DTBS)+= $(dtb-)ifneq($(CHECK_DTBS),) extra-y +=$(patsubst%.dtb,%.dt.yaml, $(dtb-y)) extra-$(CONFIG_OF_ALL_DTBS)+=$(patsubst%.dtb,%.dt.yaml, $(dtb-))endif 将所有的dtb-y赋值给extra-y。 9.4.6 添加路径 extra-y :=$(addp...
It must build the image. What's the current behaviour? Build fails with this error: "make[1]: *** No rule to make target 'dtbo_check', needed by 'dtbs'. Stop." How to reproduce your issue? What device are you using? samsung-a107f ...
xujing@shsw:~/imx-yocto-bsp/linux-imx$ make dtbs CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CHK include/generated/bounds.h CHK include/generated/timeconst.h CHK include/generated/asm-offsets.h CALL scripts/checksyscalls.sh CHK...
$(Q)$(MAKE) $(build)=$(dtstree) ifneq ($(filter dtbs_check, $(MAKECMDGOALS)),) export CHECK_DTBS=y dtbs: dt_binding_check endif dtbs_check: dtbs dtbs_install: $(Q)$(MAKE) $(dtbinst)=$(dtstree) dst=$(INSTALL_DTBS_PATH) ifdef CONFIG_OF_EARLY_FLATTREE all: dtbs ...
ifneq ($(CHECK_DTBS),) extra-y += $(patsubst %.dtb,%.dt.yaml, $(dtb-y)) extra-$(CONFIG_OF_ALL_DTBS) += $(patsubst %.dtb,%.dt.yaml, $(dtb-)) endif Kbuild系统同时支持设备树的编译,除了编译器使用的是dtc,其他编译操作几乎是一致的。
(dtstree)/$@ PHONY += dtbs dtbs_install dtbs_check dtbs: include/config/kernel.release scripts_dtc $(Q)$(MAKE) $(build)=$(dtstree) ifneq ($(filter dtbs_check, $(MAKECMDGOALS)),) export CHECK_DTBS=y dtbs: dt_binding_check endif dtbs_check: dtbs dtbs_install: $(Q)$(MAKE) $(...
export CHECK_DTBS=y 1411dtbs: dt_binding_check 1412endif 1413 1414dtbs_check: dtbs 1415 1416dtbs_install: 1417 $(Q)$(MAKE) $(dtbinst)=$(dtstree) dst=$(INSTALL_DTBS_PATH) 1418 1419ifdef CONFIG_OF_EARLY_FLATTREE 1420all: dtbs
dtbs_check: dtbs dtbs_install: $(Q)$(MAKE) $(dtbinst)=$(dtstree) dst=$(INSTALL_DTBS_PATH) ifdef CONFIG_OF_EARLY_FLATTREE all: dtbs endif endif PHONY += scripts_dtc scripts_dtc: scripts_basic $(Q)$(MAKE) $(build)=scripts/dtc ...
内核的构建一般包含两步(如果算上distclean的话,就是三步,如果再算上dtbs构建的话,就是四步,这里忽略那两个步骤的分析),下面会对每一个步骤进行跟踪分析 第一步,配置,对应的命令make ARCH=arm CROSS_COMPILE=arm-xilinx-linux-gnueabi- zynq_zturn_defconfig ...
master Documentation LICENSES arch block certs crypto drivers fs include init io_uring ipc kernel lib mm net rust samples scripts security sound tools usr virt .clang-format .cocciconfig .editorconfig .get_maintainer.ignore .gitattributes .gitignore ...