From f3cea94e0fc00e3c6c9bb01b9ac9d7d3867b599a Mon Sep 17 00:00:00 2001 From: Travis Geiselbrecht Date: Fri, 9 Apr 2010 21:09:27 -0700 Subject: [PATCH] use the -newos toolchain even if -elf is present. --- make.syscfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make.syscfg b/make.syscfg index 6559369..69e512d 100644 --- a/make.syscfg +++ b/make.syscfg @@ -104,8 +104,7 @@ $(warning found newos toolchain!) OBJDUMP = $(TOOLCHAIN_ARCH)-newos-objdump STRIP = $(TOOLCHAIN_ARCH)-newos-strip SIZE = $(TOOLCHAIN_ARCH)-newos-size -endif - +else FOO := $(shell $(TOOLCHAIN_ARCH)-elf-gcc --version | cat) ifneq ($(FOO),) $(warning WARNING: custom newos toolchain not found!) @@ -119,6 +118,7 @@ $(warning falling back to elf toolchain) STRIP = $(TOOLCHAIN_ARCH)-elf-strip SIZE = $(TOOLCHAIN_ARCH)-elf-size endif +endif ifeq ($(CC),) $(warning WARNING: custom newos toolchain not found!) $(warning This build will probably fail miserably) -- 2.11.4.GIT