external toolchain: check cross-compiler existence
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 17 Jul 2009 06:53:55 +0000 (08:53 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 17 Jul 2009 06:53:55 +0000 (08:53 +0200)
commit901b468e24ff546760ffdf6456d731f6388bad00
tree6900f9bdcbeb015c093522b94eb385c022fb123e
parent82bf777ed73f449587aea59a6ce5b41164a6819f
external toolchain: check cross-compiler existence

As a minimal test to the external toolchain, check that $(TARGET_CC)
is actually an existing executable file. That way, if the user
misconfigures the toolchain path and/or prefix, a meaningful error
message will be shown.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/external-toolchain/ext-tool.mk