* [U-Boot] u-boot Makefile Questions
@ 2012-12-19 8:29 chuck huang
0 siblings, 0 replies; only message in thread
From: chuck huang @ 2012-12-19 8:29 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-12-19 8:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-19 8:29 [U-Boot] u-boot Makefile Questions chuck huang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.