summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-02-07 21:01:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-02-07 21:01:43 +0000
commitf52a62d600df5767721dd1a756c3bcf9fc86718a (patch)
tree69512fc861ab372897d351bdd06e85d0754ccefd /target
parente9c10a0c8e4511e19a31f983162c171ab4dccba2 (diff)
downloadmtk-20170518-f52a62d600df5767721dd1a756c3bcf9fc86718a.zip
mtk-20170518-f52a62d600df5767721dd1a756c3bcf9fc86718a.tar.gz
mtk-20170518-f52a62d600df5767721dd1a756c3bcf9fc86718a.tar.bz2
sdk: rename file to mention target/subtarget and move host system to suffix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44312
Diffstat (limited to 'target')
-rw-r--r--target/sdk/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/target/sdk/Makefile b/target/sdk/Makefile
index 9e8749b..8ae63c4 100644
--- a/target/sdk/Makefile
+++ b/target/sdk/Makefile
@@ -12,10 +12,7 @@ include $(INCLUDE_DIR)/version.mk
override MAKEFLAGS=
-PKG_OS:=$(word 2,$(subst -, ,$(shell $(HOSTCC) -dumpmachine)))
-PKG_CPU:=$(word 1,$(subst -, ,$(shell $(HOSTCC) -dumpmachine)))
-
-SDK_NAME:=OpenWrt-SDK-$(if $(CONFIG_VERSION_FILENAMES),$(VERSION_NUMBER)-)$(BOARD)-for-$(PKG_OS)-$(PKG_CPU)-gcc-$(GCCV)_$(LIBC)-$(LIBCV)
+SDK_NAME:=OpenWrt-SDK-$(if $(CONFIG_VERSION_FILENAMES),$(VERSION_NUMBER)-)$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))_gcc-$(GCCV)$(DIR_SUFFIX).$(HOST_OS)-$(HOST_ARCH)
SDK_BUILD_DIR:=$(BUILD_DIR)/$(SDK_NAME)
STAGING_SUBDIR_HOST := staging_dir/host