summaryrefslogtreecommitdiff
path: root/target/sdk/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-03 14:45:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-03 14:45:18 +0000
commitdef6be413ca33e6df4f530ef2df9cf0791defcf7 (patch)
treefa7dc2169fe264a7ba664041445a4d8e11875d2f /target/sdk/Makefile
parent0a0bfc85079aa1c9f87bff8c5902082aedc83178 (diff)
downloadmtk-20170518-def6be413ca33e6df4f530ef2df9cf0791defcf7.zip
mtk-20170518-def6be413ca33e6df4f530ef2df9cf0791defcf7.tar.gz
mtk-20170518-def6be413ca33e6df4f530ef2df9cf0791defcf7.tar.bz2
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 <openwrt@daniel.thecshore.com> SVN-Revision: 48084
Diffstat (limited to 'target/sdk/Makefile')
-rw-r--r--target/sdk/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/sdk/Makefile b/target/sdk/Makefile
index 28739bb..012b597 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