…nce of the already existing cross compiler and the SDK include path should only happen when it is necessary. The checking has been moved into the 'prepare' rule since that is prequisite for actually building clib4. Before this commit, it would mean that you would have to provide a valid cross-compiler to be available on the PATH even if you just wanted to make 'clean'.
The alternative is to not be so helpful and just let the whole thing fail a little more obscurely.
…nce of the already existing cross compiler and the SDK include path should only happen when it is necessary. The checking has been moved into the 'prepare' rule since that is prequisite for actually building clib4. Before this commit, it would mean that you would have to provide a valid cross-compiler to be available on the PATH even if you just wanted to make 'clean'.
The alternative is to not be so helpful and just let the whole thing fail a little more obscurely.
See also: https://github.com/afxgroup/clib2/issues/157
This is the fix for that.