Linux kbuild/kconfig development
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: linux-kbuild@vger.kernel.org
Subject: makefiles: obj vs. objtree
Date: Wed, 17 Feb 2010 18:27:15 -0800	[thread overview]
Message-ID: <4B7CA583.5020002@xenotime.net> (raw)

Can someone clarify the difference(s) in these variables, please?

Documentation/kbuild.txt says about objtree:

$(objtree) is the directory where output files are saved.
The output directory is often set using "O=..." on the commandline.


Documentation/makefiles.txt says about obj:

    $(obj)
	$(obj) is a relative path which points to the directory
	where the target is saved. Always use $(obj) when
	referring to generated files.


These appear to be the same to me, but let me be more specific:

In some cases (or places), Documentation/DocBook/Makefile uses
$(obj) and other cases/places, it uses $(objtree).
Does it have these correct, or should some of them be fixed?

thanks,
-- 
~Randy

             reply	other threads:[~2010-02-18  2:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-18  2:27 Randy Dunlap [this message]
2010-02-18  9:54 ` makefiles: obj vs. objtree Michal Marek
2010-02-18 16:02   ` Randy Dunlap

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=4B7CA583.5020002@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=linux-kbuild@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox