Rockbox mail archive
Subject: Re: rockbox tools dir / Makefile & Win32SDK
From: Daniel Stenberg (daniel_at_haxx.se)
On Sat, 19 Apr 2003 for_spam_at_gmx.de wrote:
> i separately supply the rockbox tools in win32 binary form.
> unfortunately, these tools are referenced by the firmware makefile from
> within the rockbox-sourcedir,
Not exactly within the source dir, but I get your point. The tools dir is
referred to with "../tools" in the apps/Makefile. In the firmware/Makefile we
more appropriately set TOOLSDIR to ../tools and then use that variable, as
that at least leaves an oppurtunity for the invoke-command to set the
variable to something else.
> Could your firmware Makefile (and from whatelse places tools being
> referenced) honour the rockbox tools being supplied in another dir besides
> ~rb-builddir/tools ?
Sure it could. We could have the configure script detect the tools dir when
run, and then use that path passed on to the sub-Makefiles from the master
(top-level) makefile. Would that be satisfactory? The first check would then
be to see if the tools exist in the PATH already and then no directory at all
would be used to prefix the tools.
Daniel Stenberg -- http://rockbox.haxx.se/ -- http://daniel.haxx.se/
Page was last modified "Jan 10 2012" The Rockbox Crew