Fix cross-build
authorJohn Marino <draco@marino.st>
Mon, 29 Oct 2012 19:59:07 +0000 (20:59 +0100)
committerJohn Marino <draco@marino.st>
Mon, 29 Oct 2012 19:59:07 +0000 (20:59 +0100)
commitf8a7506473aa7a5a8f1871d5af183ad368d5e9be
tree2132f6a45437d158a69d0088d8f837fff509c6ce
parenta3775bf244235f5b1b580b0aab954df19e770863
Fix cross-build

The introduction of BTOOLMAKE and BTOOLCONFIG did not work when
cross-building.  The value of BTOOLSDEST and CTOOLSDEST change when
starting stage 2 of the crossworld.  This was never detected before
because these variables were only used in stage 1.

However, the absolute path to these tools aren't needed.  The PATH
is defined in the environment to ensure the bootstrap tools are
used when appropriate.  Previous errors leading me to think the host
tool was being used may have been caused by other things.

At the same time, all the "${MAKE}" variables were replaced with "make".
The make program defines "MAKE" as whatever was used to invoke it,
including paths.  Since we are controlling the path, we don't want any
surprises.  In any cases, we want "${MAKE}" to equal "make", so just
hardcode it that way.

Tested on cross-build, bmake-equipped system, and legacy make equipped
system.
Makefile.inc1