Linux kbuild/kconfig development
 help / color / mirror / Atom feed
* makefiles: obj vs. objtree
@ 2010-02-18  2:27 Randy Dunlap
  2010-02-18  9:54 ` Michal Marek
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2010-02-18  2:27 UTC (permalink / raw)
  To: linux-kbuild

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-18 16:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18  2:27 makefiles: obj vs. objtree Randy Dunlap
2010-02-18  9:54 ` Michal Marek
2010-02-18 16:02   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox