From 4af1c690d3f58dba121b1fceb9739fd06fd1821f Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sat, 24 Mar 2018 16:02:43 +0200 Subject: [PATCH] toolchain-external: fix bin path for known toolchains --- toolchain/toolchain-external/pkg-toolchain-external.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk index 9be046eb8f..07d3e689cb 100644 --- a/toolchain/toolchain-external/pkg-toolchain-external.mk +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk @@ -71,6 +71,11 @@ else TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH)) endif +# if binary path unset (non-custom external toolchains), use "bin" +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BIN_PATH),) +BR2_TOOLCHAIN_EXTERNAL_BIN_PATH = bin +endif + ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) # if no path set, figure it out from path