FS#9579 - Fix compilation when build directory is not inside rockbox source directory

Attached to Project: Rockbox
Opened by Bartosz Fabianowski (undo) - Wednesday, 26 November 2008, 03:45 GMT
Last edited by Nils Wallménius (nls) - Wednesday, 26 November 2008, 09:43 GMT
Task Type Bugs
Category Build environment
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The most recent change to wps/ introduced a bug that makes "make zip" fail if the build directory is not directly inside the rockbox source directory. The attached patch fixes this.

The problem is that $firmdir is set to "$ROOT/firmware" before the final value of $ROOT has been determined using GetOptions(). This way, $firmdir always is "../firmware", regardless of the root directory passed in via the -r option.
This task depends upon

Closed by  Nils Wallménius (nls)
Wednesday, 26 November 2008, 09:43 GMT
Reason for closing:  Accepted
Additional comments about closing:  committed, thanks!