FS#6340 - Tiny patch to make easier to use on *BSD

Attached to Project: Rockbox
Opened by Lutz Boehne (Kasperle) - Thursday, 16 November 2006, 10:50 GMT
Task Type Patches
Category Build environment
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


On *BSD, "make" normally is some variant of BSD make, which is not quite compatible to GNU make (which is normally named "gmake" on those platforms), thus using on these platforms will fail. I made a change to to first set a variable named "make" to "make" and then replace all calls to "make" by "$make". That makes it easier to compile a toolchain on *BSD, by just setting the make variable to "gmake".
This task depends upon

Closed by  Jonas Häggqvist (rasher)
Wednesday, 22 November 2006, 09:23 GMT
Reason for closing:  Accepted
Additional comments about closing:  Added to CVS
Comment by Lutz Boehne (Kasperle) - Wednesday, 22 November 2006, 08:38 GMT
Updated patch, added some documentation ;)
Comment by Lutz Boehne (Kasperle) - Wednesday, 22 November 2006, 08:49 GMT
And another patch, inspired by rasher's idea to attempt "autodetection" of whether GNU Make is gmake or make.