From: Felix Fietkau Date: Sun, 3 Jan 2016 14:45:18 +0000 (+0000) Subject: target/sdk: Fix filename with external toolchain X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=def6be413ca33e6df4f530ef2df9cf0791defcf7;p=openwrt%2Fstaging%2Fynezz.git target/sdk: Fix filename with external toolchain When building SDK with external toolchain, don't include _gcc in the filename Signed-off-by: Daniel Dickinson SVN-Revision: 48084 --- diff --git a/target/sdk/Makefile b/target/sdk/Makefile index 28739bbca9..012b597c84 100644 --- a/target/sdk/Makefile +++ b/target/sdk/Makefile @@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/version.mk override MAKEFLAGS= -SDK_NAME:=$(VERSION_DIST)-SDK-$(if $(CONFIG_VERSION_FILENAMES),$(VERSION_NUMBER)-)$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))_gcc-$(GCCV)$(DIR_SUFFIX).$(HOST_OS)-$(HOST_ARCH) +SDK_NAME:=$(VERSION_DIST)-SDK-$(if $(CONFIG_VERSION_FILENAMES),$(VERSION_NUMBER)-)$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))$(if $(GCCV),_gcc-$(GCCV))$(DIR_SUFFIX).$(HOST_OS)-$(HOST_ARCH) SDK_BUILD_DIR:=$(BUILD_DIR)/$(SDK_NAME) STAGING_SUBDIR_HOST := staging_dir/host