summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/vars.mk11
-rw-r--r--toolchain/uclibc-ng/Makefile2
2 files changed, 8 insertions, 5 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 12ffaeed6..757bb638c 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -77,13 +77,16 @@ ifneq ($(strip ${ADK_USE_CCACHE}),)
TARGET_COMPILER_PREFIX=$(STAGING_HOST_DIR)/usr/bin/ccache ${TARGET_CROSS}
endif
-# use a gcc wrapper for uClinux
-ifeq ($(ADK_TARGET_UCLINUX),y)
-TARGET_CC:= adk-uclinux-gcc
-else
# target tools
TARGET_CC:= ${TARGET_COMPILER_PREFIX}gcc
+
+# use a gcc wrapper for coldfire support
+ifeq ($(ADK_TARGET_UCLINUX),y)
+ifeq ($(ADK_TARGET_ARCH_M68K),y)
+TARGET_CC:= adk-uclinux-gcc
endif
+endif
+
TARGET_CXX:= ${TARGET_COMPILER_PREFIX}g++
TARGET_LD:= ${TARGET_COMPILER_PREFIX}ld
TARGET_AR:= ${TARGET_COMPILER_PREFIX}ar
diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile
index e6360edf5..08845f282 100644
--- a/toolchain/uclibc-ng/Makefile
+++ b/toolchain/uclibc-ng/Makefile
@@ -162,7 +162,7 @@ ifeq ($(ADK_UCLIBC_TEST),y)
TEST_INSTALLED_UCLIBC=1 \
UCLIBC_ONLY=1 \
UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
- V=1 \
+ VERBOSE=1 \
test_compile
endif
ifeq ($(ADK_TARGET_TOOLCHAIN),y)