toolchain-external: fix support for non-ADI Blackfin external toolchains
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 15 Mar 2015 14:40:30 +0000 (15:40 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 15 Mar 2015 14:40:30 +0000 (15:40 +0100)
commit23ecfd04e6987879b5b4fce8f89b1e6501d011f8
tree3e7d48c86a3028ba97df292672d4efb4bfb80665
parent87dd38a939d53edcb3c9e866cf5e766d1033f849
toolchain-external: fix support for non-ADI Blackfin external toolchains

The computation of TOOLCHAIN_EXTERNAL_BIN has a special case for
Blackfin, where it's set to
$(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/$(TOOLCHAIN_EXTERNAL_PREFIX)/bin
instead of $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/bin for other
architectures.

However, this is actually only true for Analog Devices pre-built
toolchains. Other Blackfin external toolchains (such as ones built by
Buildroot) do not have this special organization.

Therefore, in order to make those non-ADI Blackfin toolchains work, we
need to change the condition from BR2_bfin to testing specifically for
the ADI toolchains.

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