From e1a3f6b39b46086954fc9746724e784b155d2402 Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 28 Sep 2004 21:39:45 +0000 Subject: * Patch by Yuli Barcohen, 19 Jul 2004: - Fix host tools building in Cygwin environment - Fix header files search order for host tools * Patch by Tom Armistead, 19 Jul 2004: Fix kgdb.S support for 74xx_75x cpu --- tools/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/Makefile b/tools/Makefile index 9115430..d3dcc7d 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -96,12 +96,10 @@ endif # ifeq ($(HOSTOS),cygwin) SFX = .exe -HOST_CFLAGS += -D__WIN32__ else SFX = endif - # # Include this after HOSTOS HOSTARCH check # so that we can act intelligently. @@ -111,7 +109,7 @@ include $(TOPDIR)/config.mk # # Use native tools and options # -CPPFLAGS = -I../include -I.. -DTEXT_BASE=$(TEXT_BASE) -DUSE_HOSTCC +CPPFLAGS = -idirafter ../include -DTEXT_BASE=$(TEXT_BASE) -DUSE_HOSTCC CFLAGS = $(HOST_CFLAGS) $(CPPFLAGS) -O AFLAGS = -D__ASSEMBLY__ $(CPPFLAGS) CC = $(HOSTCC) -- cgit v1.1