diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-01-03 03:46:12 -0600 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-01-03 03:46:19 -0600 |
commit | 0613208e4f8ddf065caf4c85f02c39ee48fd290f (patch) | |
tree | 96fa06157eb010ace726587adf26892413ad8e0f | |
parent | 1bf8ef30bfa79bd0816fd97f3d1b31f7950d3c4e (diff) |
use wrapper only for m68k and uclinux aka coldfire
-rw-r--r-- | mk/vars.mk | 11 | ||||
-rw-r--r-- | toolchain/uclibc-ng/Makefile | 2 |
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) |