aboutsummaryrefslogtreecommitdiffstats
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
commita83ef92b83edec65a4e45f48151b9911c0aff154 (patch)
tree0ad9573b70e80d859a5dcdd4a3c3fdf3f6229303
parent4847a9d4459cb243b8f8c77fd03187b90a9c7777 (diff)
downloadmaster-187ad058-a83ef92b83edec65a4e45f48151b9911c0aff154.tar.gz
master-187ad058-a83ef92b83edec65a4e45f48151b9911c0aff154.tar.bz2
master-187ad058-a83ef92b83edec65a4e45f48151b9911c0aff154.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48084 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/sdk/Makefile2
1 files changed, 1 insertions, 1 deletions
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