Merge branch 'mpc86xx'
[platform/kernel/u-boot.git] / tools / Makefile
index 9115430..d3dcc7d 100644 (file)
@@ -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)