Dear all, I have some questions about u-boot Makefile.
Could you help me ? Thx! The below is my question. First, we do make _depend for those $(SUBDIRS) $(CPUDIR) $(LDSCRIPT_MAKEFILE_DIR) depend dep: $(TIMESTAMP_FILE) $(VERSION_FILE) \ $(obj)include/autoconf.mk \ $(obj)include/generated/generic-asm-offsets.h \ $(obj)include/generated/asm-offsets.h for dir in $(SUBDIRS) $(CPUDIR) $(LDSCRIPT_MAKEFILE_DIR) ; do \ $(MAKE) -C $$dir _depend ; done after we already generated the .depend file in those dirs. $(SUBDIRS): depend $(MAKE) -C $@ all That would do make action in SUBDIRS dir. But why we also sinclude .depend in those Makefile which is base on those dir ? I regard that we already generated before. And another questions, how does the other sub-dir(eg, libs) .depend file generated ? is that generated by rules.mk which is include every sub-dirs? Best regards _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot