ports and multiple builds

Tim Hemel <[email protected]> Thu, 16 Sep 2004 14:21:36 +0200
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Hi,

I'm using aap's ports facility to build certain applications. These applications
have to be built for multiple hardware platforms and since they are part of a
bigger build system, I have to make sure that the binaries that are built are
in the right executable format.

I solved this by creating a $platform variable, and use it as follows:

:variant platform
	i386
		CC = gcc
	arm
		CC = gcc-cross-arm  # or whatever its name is

WRKSRC = work-$platform

This will build the binaries in the right work directory and I can have
concurrent builds for multiple platforms. But, there is the "done" directory,
that keeps the current state of the build. I would like to be able to change
this directory to done-$platform. Is this possible? A nasty work-around would
be to make "done" a symlink to the done-$platform directory and change it
accordingly.


Tim

-- 
Zen Microsystems: we're the om in .commmmmmmmm...


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php