tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: default TOOLDIR



On Fri, 24 Oct 2008, Izumi Tsutsui wrote:
> > I thought about adding a top-obj target to src/Makefile, but I couldn't
> > see a use for it.
> 
> To prepare proper default TOOLDIR, DESTDIR, and RELEASEDIR?
> The top obj dir contains only these three directories. 

OK, I changed src/Makefile to make the top-level object directory
earlier.

> I guess it should be:
> 
> - check existing bmake in try_set_TOOLDIR() or build bootstrap bmake
> - make top-obj with the bootstrap bmake
> - set TOOLDIR, DESTDIR, and RELEASEDIR via getmakevar() with the same bmake
> - then make clenadir, tools-obj, tools, ...

That would be in build.sh, not in src/Makefile.  I'll try something based on
your idea.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index