]> git.sur5r.net Git - u-boot/blobdiff - config.mk
* Implement new mechanism to export U-Boot's functions to standalone
[u-boot] / config.mk
index c8358cf7825b64a1c3a30793c7356da602ef1cd4..f73d6f4c90903fb3608701c56a1af345a3a579c9 100644 (file)
--- 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 \