summaryrefslogtreecommitdiff
path: root/mk/vars.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/vars.mk')
-rw-r--r--mk/vars.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 355a6b12d..128164da0 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -57,7 +57,13 @@ else
GCC_CHECK:=
endif
-GNU_TARGET_NAME:= $(ADK_TARGET_CPU_ARCH)-$(ADK_VENDOR)-linux-$(ADK_TARGET_SUFFIX)
+ifeq ($(ADK_TARGET_UCLINUX),y)
+ADK_TARGET_LINUXTYPE:= uclinux
+else
+ADK_TARGET_LINUXTYPE:= linux
+endif
+
+GNU_TARGET_NAME:= $(ADK_TARGET_CPU_ARCH)-$(ADK_VENDOR)-$(ADK_TARGET_LINUXTYPE)-$(ADK_TARGET_SUFFIX)
TARGET_CROSS:= $(TOOLCHAIN_DIR)/usr/bin/$(GNU_TARGET_NAME)-
TARGET_COMPILER_PREFIX?=${TARGET_CROSS}
CONFIGURE_TRIPLE:= --build=${GNU_HOST_NAME} \