toolchain/external: better report RPC error for custom toolchains
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 3 May 2015 15:39:16 +0000 (17:39 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 5 May 2015 20:45:51 +0000 (22:45 +0200)
commit808c3fb8d2271642afca9a82a51d24fa03a235f6
treea436a11b2b4ed992aa1143c54f4dbce26d6319fe
parent911c5e2dd30e9d96984dfaa03c9b1f3bc95ea2fa
toolchain/external: better report RPC error for custom toolchains

Currently, we instruct users to enable/disable BR2_TOOLCHAIN_HAS_NATIVE_RPC
but that is a blind option. The only option users can set/unset is
BR2_TOOLCHAIN_EXTERNAL_INET_RPC.

Use that in the error message.

Notes: the only way for this message to appear is for a custom external
toolchain, either downloaded or pre-installed, so even though we check
the validity of the toolchain with BR2_TOOLCHAIN_HAS_NATIVE_RPC, we do
report on BR2_TOOLCHAIN_EXTERNAL_INET_RPC.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/helpers.mk