From 27b207fd0a0941b03f27e2a82c0468b1a090c745 Mon Sep 17 00:00:00 2001
From: wdenk <wdenk>
Date: Thu, 24 Jul 2003 23:38:38 +0000
Subject: * Implement new mechanism to export U-Boot's functions to standalone 
  applications: instead of using (PPC-specific) system calls we now   use a
 jump table; please see doc/README.standalone for details

* Patch by Dave Westwood, 24 Jul 2003:
  added support for Unity OS (a proprietary OS)
---
 config.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'config.mk')

diff --git a/config.mk b/config.mk
index c8358cf782..f73d6f4c90 100644
--- a/config.mk
+++ b/config.mk
@@ -112,8 +112,8 @@ gccincdir := $(shell $(CC) -print-file-name=include)
 CPPFLAGS := $(DBGFLAGS) $(OPTFLAGS) $(RELFLAGS)		\
 	-D__KERNEL__ -DTEXT_BASE=$(TEXT_BASE)		\
 	-I$(TOPDIR)/include				\
-	-fno-builtin -nostdinc -isystem $(gccincdir)	\
-	-pipe $(PLATFORM_CPPFLAGS)
+	-fno-builtin -ffreestanding -nostdinc -isystem	\
+	$(gccincdir) -pipe $(PLATFORM_CPPFLAGS)
 
 ifdef BUILD_TAG
 CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes \
-- 
cgit v1.2.1