From: chuck huang <chuck.kernel@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot Makefile Questions
Date: Wed, 19 Dec 2012 16:29:00 +0800 [thread overview]
Message-ID: <002201cdddc2$e873f5c0$b95be140$@gmail.com> (raw)
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
reply other threads:[~2012-12-19 8:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='002201cdddc2$e873f5c0$b95be140$@gmail.com' \
--to=chuck.kernel@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.